Refactoring

This commit is contained in:
Elio Struyf
2021-12-15 11:16:39 +01:00
parent 481d1f56e4
commit 050a513b48
19 changed files with 828 additions and 515 deletions
@@ -0,0 +1,4 @@
export enum DashboardViewType {
Grid = 1,
List
}
+1
View File
@@ -1,3 +1,4 @@
export * from './DashboardViewType';
export * from './Page';
export * from './Settings';
export * from './SortingOption';
+3 -7
View File
@@ -1,11 +1,7 @@
import { atom } from 'recoil';
import { DashboardViewType } from '../../models';
export enum ViewType {
Grid = 1,
List
}
export const ViewAtom = atom<ViewType>({
export const ViewAtom = atom<DashboardViewType>({
key: 'ViewAtom',
default: ViewType.Grid
default: DashboardViewType.Grid
});