Merge pull request #159 from Wzixiao/cache-typewriter-mode

Add the function of caching typewriterMode
This commit is contained in:
Jon Eugster
2023-12-07 16:00:19 +01:00
committed by GitHub
3 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ export function Main(props: { world: string, level: number, data: LevelInfo}) {
const completed = useAppSelector(selectCompleted(gameId, props.world, props.level))
console.debug(`template: ${props.data.template}`)
console.debug(`template: ${props.data?.template}`)
// React.useEffect (() => {
// if (props.data.template) {