Nicer read-only mode

This commit is contained in:
Zef Hemel
2023-01-16 11:28:59 +01:00
parent 882f157cf1
commit fd8645c157
4 changed files with 33 additions and 23 deletions
+1 -4
View File
@@ -25,8 +25,7 @@ export type PanelConfig = {
export type AppViewState = {
currentPage?: string;
editingPageName: boolean;
perm: EditorMode;
currentPageMeta?: PageMeta;
isLoading: boolean;
showPageNavigator: boolean;
showCommandPalette: boolean;
@@ -65,8 +64,6 @@ export type AppViewState = {
};
export const initialViewState: AppViewState = {
perm: "rw",
editingPageName: false,
isLoading: false,
showPageNavigator: false,
showCommandPalette: false,