mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-02 14:02:37 +00:00
* fix(Map): Fixed a lot of design and architect issues after last million PRs * fix(Map): removed unnecessary hooks styles --------- Co-authored-by: achichenkov <aleksei.chichenkov@telleqt.ai>
8 lines
222 B
TypeScript
8 lines
222 B
TypeScript
import { AvailableThemes, useMapRootState } from '@/hooks/Mapper/mapRootProvider';
|
|
|
|
export const useTheme = (): AvailableThemes => {
|
|
const { interfaceSettings } = useMapRootState();
|
|
|
|
return interfaceSettings.theme;
|
|
};
|