Add the function of caching typewriterMode

This commit is contained in:
ran
2023-12-07 15:06:58 +08:00
parent 6f92d61381
commit aa00e359c4
3 changed files with 7 additions and 5 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) {