diff --git a/src/App.tsx b/src/App.tsx index efae0f0..d12d24f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -90,7 +90,7 @@ const App: FC<{ theme: Theme }> = ({ theme: initTheme }) => {
Loading}> - {!__DIY__ && } + {!__DIY__ && !theme.pure && } {!__DIY__ && (

)} diff --git a/src/components/Score.tsx b/src/components/Score.tsx index 17f4ee1..27cb873 100644 --- a/src/components/Score.tsx +++ b/src/components/Score.tsx @@ -37,8 +37,9 @@ const Score: FC<{ score: number; time: number; success: boolean; + pure?: boolean; restartMethod: () => void; -}> = ({ level, score, time, success, restartMethod }) => { +}> = ({ level, score, time, success, restartMethod, pure = false }) => { const [rankList, setRankList] = useState([]); const [username, setUsername] = useState( localStorage.getItem(USER_NAME_STORAGE_KEY) || '' @@ -281,7 +282,7 @@ const Score: FC<{

)} - + {!pure && } );