mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-13 21:31:12 +02:00
Refactoring
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export enum DashboardViewType {
|
||||
Grid = 1,
|
||||
List
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from './DashboardViewType';
|
||||
export * from './Page';
|
||||
export * from './Settings';
|
||||
export * from './SortingOption';
|
||||
|
||||
@@ -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
|
||||
});
|
||||
Reference in New Issue
Block a user