import { Color } from 'three'; import InfiniteGridHelper from '../../../../../components/InfiniteGridHelper'; import { useTankopediaPersistent } from '../../../../../stores/tankopedia'; export function SceneProps() { const showGrid = useTankopediaPersistent( (state) => state.model.visual.showGrid, ); const showEnvironment = useTankopediaPersistent( (state) => state.model.visual.showEnvironment, ); if (!showGrid || showEnvironment) return null; return ( <> ); }