diff --git a/src/hooks/events/workspace-load.ts b/src/hooks/events/workspace-load.ts index faae222..b8c7b9a 100644 --- a/src/hooks/events/workspace-load.ts +++ b/src/hooks/events/workspace-load.ts @@ -14,9 +14,7 @@ const useWorkspaceLoad = (props: ISTKProps) => { if (props.data) { store.dispatch(sync(props.data)); } else { - if (!props.options?.blank) { - store.dispatch(initializeElements()); - } + store.dispatch(initializeElements()); } props.events?.onWorkspaceLoad?.(); }, [props.data]); diff --git a/src/types/index.ts b/src/types/index.ts index e068762..2360968 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -86,8 +86,6 @@ export interface ISTKProps { maxImageSize?: number; /** Overrides the default input placeholder at the top left corner of the screen */ locationInputPlaceholder?: string; - /** Loads a blank workspace */ - blank?: boolean; }; plugins?: IPlugins; }