"use client"; import ParenthesesPreparationClient from "@/components/game/ParenthesesPreparationClient"; import { useVariableGameStore } from "@/store/variableGameStore"; export default function VariableParenthesesClient() { const selectedProblemCount = useVariableGameStore( (state) => state.selectedProblemCount, ); const setProblemCount = useVariableGameStore( (state) => state.setProblemCount, ); const selectedMaxTermCount = useVariableGameStore( (state) => state.selectedMaxTermCount, ); const setMaxTermCount = useVariableGameStore( (state) => state.setMaxTermCount, ); const initSession = useVariableGameStore((state) => state.initSession); return ( initSession(selectedProblemCount, selectedMaxTermCount)} /> ); }