Refactor styles for improved theme management, enhance input components, and add scene styles
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import * as THREE from 'three';
|
||||
import { useToggleView } from '../../../store/store';
|
||||
import * as CONSTANTS from '../../../types/world/worldConstants';
|
||||
|
||||
const Ground = ({ grid, plane }: any) => {
|
||||
const { toggleView, setToggleView } = useToggleView();
|
||||
const { toggleView } = useToggleView();
|
||||
const savedTheme: string | null = localStorage.getItem('theme');
|
||||
|
||||
return (
|
||||
|
||||
@@ -19,4 +19,4 @@ const Ground = ({ grid, plane }: any) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default Ground;
|
||||
export default Ground;
|
||||
|
||||
Reference in New Issue
Block a user