chore: style

This commit is contained in:
Tristan Yang
2023-03-14 22:03:00 +08:00
parent 546898556e
commit bb633cd1cb
4 changed files with 3 additions and 33 deletions
+1 -7
View File
@@ -204,16 +204,10 @@ const PageRoutes = () => {
export default function ReduxRoutes() {
const { tabActive } = useTabBroadcast();
if (!tabActive) return (
<Provider store={store}>
<Meta />
<InactiveScreen />
</Provider>
);
return (
<Provider store={store}>
<Meta />
<PageRoutes />
{tabActive ? <PageRoutes /> : <InactiveScreen />}
</Provider>
);
}