// --------------------------------------------------------------------------------------------------------------------- //! Imports // --------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------- Hooks & Utils ---------------------------------------------------- import { useLangStore } from '@/store/langState'; import { useActions } from './hooks/useActions'; import { getCellDisplayContent } from '../../utils/gameInteractions'; // --------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------- Assets & Styles --------------------------------------------------- import Podium from '../../assets/podium'; import './styles.scss'; // --------------------------------------------------------------------------------------------------------------------- const Grid = () => { const config = useLangStore((state) => state.config); const { grid, gridSize, endType, handleLeftClick, handleRightClick, openLeaderboard } = useActions(); return (
{endType === 'win' ? config.win : config.loose}