Skip to content

Commit

Permalink
fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Aug 31, 2023
1 parent 235a7bc commit 0a97e2d
Show file tree
Hide file tree
Showing 5 changed files with 1,105 additions and 213 deletions.
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"lint": "next lint"
},
"dependencies": {
"novel": "*",
"@radix-ui/react-popover": "^1.0.6",
"@tiptap/core": "^2.0.3",
"@tiptap/extension-color": "^2.0.3",
Expand Down Expand Up @@ -46,11 +45,12 @@
"framer-motion": "^10.12.18",
"lucide-react": "^0.244.0",
"next": "13.4.8-canary.14",
"novel": "*",
"openai-edge": "^1.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "^8.0.5",
"sonner": "^0.5.0",
"sonner": "^0.7.0",
"tippy.js": "^6.3.7",
"tiptap-markdown": "^0.8.1",
"typescript": "4.9.5",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react-dom": "18.2.0",
"react-markdown": "^8.0.7",
"react-moveable": "^0.54.1",
"sonner": "^0.6.2",
"sonner": "^0.7.0",
"tailwind-merge": "^1.14.0",
"tippy.js": "^6.3.7",
"tiptap-markdown": "^0.8.2",
Expand All @@ -59,12 +59,12 @@
"@replayio/playwright": "^1.0.10",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.14",
"eslint": "^7.32.0",
"postcss": "^8.4.27",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"tailwindcss": "^3.3.3",
"tailwindcss-animate": "^1.0.6",
"eslint": "^7.32.0",
"turbo": "^1.9.3"
}
}
2 changes: 1 addition & 1 deletion packages/novel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "^8.0.5",
"sonner": "^0.5.0",
"sonner": "^0.7.0",
"tailwind-merge": "^1.13.2",
"tippy.js": "^6.3.7",
"tiptap-markdown": "^0.8.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/novel/src/ui/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export default function Editor({
debounceDuration = 750,
}: {
// eslint-disable-next-line no-unused-vars
onUpdate: (content: JSONContent) => void;
onUpdate?: (content: JSONContent) => void;
// eslint-disable-next-line no-unused-vars
onDebouncedUpdate: (content: JSONContent) => void;
onDebouncedUpdate?: (content: JSONContent) => void;
debounceDuration?: number;
}) {
const [content, setContent] = useLocalStorage(
Expand Down
Loading

0 comments on commit 0a97e2d

Please sign in to comment.