Add loading state (#1027)
* add loading state * update snapshots * add border radius * fix comment breaking build jsx
This commit is contained in:
@ -5,6 +5,7 @@ export const DEFAULT_FONT = "20px Virgil";
|
||||
|
||||
export function getDefaultAppState(): AppState {
|
||||
return {
|
||||
isLoading: false,
|
||||
draggingElement: null,
|
||||
resizingElement: null,
|
||||
multiElement: null,
|
||||
@ -47,6 +48,7 @@ export function clearAppStateForLocalStorage(appState: AppState) {
|
||||
isResizing,
|
||||
collaborators,
|
||||
isCollaborating,
|
||||
isLoading,
|
||||
...exportedState
|
||||
} = appState;
|
||||
return exportedState;
|
||||
|
Reference in New Issue
Block a user