File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/components/DiffViewer/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4545 "lint:fix" : " eslint --fix"
4646 },
4747 "peerDependencies" : {
48- "react" : " ^ 18.0.0"
48+ "react" : " >= 18.0.0"
4949 },
5050 "dependencies" : {
5151 "json-diff-kit" : " ^1.0.32" ,
6868 "@storybook/react" : " 8.6.0-alpha.0" ,
6969 "@storybook/react-vite" : " 8.6.0-alpha.0" ,
7070 "@types/node" : " ^22.14.1" ,
71- "@types/react" : " ^ 18.2.15 " ,
71+ "@types/react" : " >= 18.0.0 " ,
7272 "@types/react-window" : " ^1.8.8" ,
7373 "eslint" : " ^9.33.0" ,
7474 "eslint-plugin-format" : " ^1.0.1" ,
7575 "eslint-plugin-react-hooks" : " ^5.2.0" ,
7676 "eslint-plugin-react-refresh" : " ^0.4.20" ,
7777 "lint-staged" : " ^16.1.5" ,
7878 "postcss" : " ^8.5.1" ,
79- "react" : " ^ 18.2 .0" ,
79+ "react" : " >= 18.0 .0" ,
8080 "rollup" : " ^3.26.3" ,
8181 "rollup-plugin-dts" : " ^5.3.0" ,
8282 "rollup-plugin-peer-deps-external" : " ^2.2.4" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export const VirtualizedDiffViewer: React.FC<VirtualizedDiffViewerProps> = ({
7878 miniMapWidth,
7979} ) => {
8080 const listRef = useRef < List > ( null ) ;
81- const searchTimeoutRef = useRef < NodeJS . Timeout > ( ) ;
81+ const searchTimeoutRef = useRef < NodeJS . Timeout | undefined > ( undefined ) ;
8282 const [ scrollTop , setScrollTop ] = useState ( 0 ) ;
8383
8484 const [ segments , setSegments ] = useState < SegmentItem [ ] > ( [ ] ) ;
You can’t perform that action at this time.
0 commit comments