Skip to content

Commit

Permalink
Load template disables css only (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon authored Sep 6, 2024
1 parent 0fec97b commit b4366f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/components/LoadTemplateDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export function LoadTemplateDialog() {
});
}, [template, replaceContent, reset]);

console.log(templates);

return (
<Dialog.Root
open={open}
Expand Down
1 change: 1 addition & 0 deletions app/src/lib/loadTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export async function loadTemplate(
themeEditor: theme,
// Unfreeze the doc
nodePositions: undefined,
customCssOnly: false,
};

callback?.();
Expand Down

0 comments on commit b4366f3

Please sign in to comment.