Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Oct 19, 2023
1 parent 25c5e69 commit 1c3e3bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/landing/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
assetPrefix: process.env.NODE_ENV === 'production' ? '/examples/landing' : '/',
assetPrefix:
process.env.NODE_ENV === 'production' ? '/examples/landing' : '/',
};
2 changes: 1 addition & 1 deletion packages/core/src/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const Editor: React.FC<React.PropsWithChildren<Partial<Options>>> = ({

// sync enabled prop with editor store options
useEffect(() => {
if (!context || !options) {
if (!context) {
return;
}

Expand Down

0 comments on commit 1c3e3bb

Please sign in to comment.