Skip to content

Commit 8dfd201

Browse files
author
Chris Funderburg
committed
chore(deps): update @types/react to version 19.2.14
1 parent 2a4d4d6 commit 8dfd201

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@testing-library/jest-dom": "^6.2.0",
3131
"@testing-library/react": "^16.3.2",
3232
"@testing-library/user-event": "^14.5.2",
33-
"@types/react": "^19.2.13",
33+
"@types/react": "^19.2.14",
3434
"@types/react-dom": "^19.2.3",
3535
"@types/react-syntax-highlighter": "^15.5.13",
3636
"@vitejs/plugin-react": "^5.1.4",

client/src/components/Preview.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ interface PreviewProps {
373373
onNavigate?: (path: string) => void;
374374
}
375375

376-
const PreviewScrollSync: React.FC<{ contentRef: React.RefObject<HTMLDivElement> }> = ({
376+
const PreviewScrollSync: React.FC<{
377+
contentRef: React.RefObject<HTMLDivElement | null>;
378+
}> = ({
377379
contentRef,
378380
}) => {
379381
const scrollSource = useEditorStore((state) => state.scrollSource);

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)