Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 29, 2024
1 parent 4271b55 commit 5a77576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/editor/puck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ const config: Config = {
let styling = useStyle(style);
let css = useClasses(classes);
let edit = ctx && ctx.mode == "edit";
classes = classes || '';

useEffect(() => {
if (!edit || !ref.current) return;
Expand Down

0 comments on commit 5a77576

Please sign in to comment.