Commit 029084fa authored by hewenhao's avatar hewenhao

feat: update

parent e1c64303
...@@ -3,9 +3,7 @@ import classNames from 'classnames' ...@@ -3,9 +3,7 @@ import classNames from 'classnames'
import { useStoreState } from '@/store/hooks' import { useStoreState } from '@/store/hooks'
import styles from './index.module.scss' import styles from './index.module.scss'
type EyeProtectionViewProps = ViewProps const EyeProtectionView = (props: ViewProps) => {
const EyeProtectionView = (props: EyeProtectionViewProps) => {
const { className, children, ...rest } = props const { className, children, ...rest } = props
const isEyeProtectionMode = useStoreState(states => states.userModel.isEyeProtectionMode) const isEyeProtectionMode = useStoreState(states => states.userModel.isEyeProtectionMode)
......
...@@ -63,9 +63,7 @@ const GamePlay = () => { ...@@ -63,9 +63,7 @@ const GamePlay = () => {
<EyeProtectionView className={styles.viewport}> <EyeProtectionView className={styles.viewport}>
<PageHead /> <PageHead />
{currentQuestion && stageDetail && ( {currentQuestion && stageDetail && (
<>
<CountUp stageDetail={stageDetail} /> <CountUp stageDetail={stageDetail} />
</>
)} )}
<ScrollView className={styles.body} scrollY> <ScrollView className={styles.body} scrollY>
{currentQuestion && ( {currentQuestion && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment