Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"lint:fix": "eslint --fix"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"dependencies": {
"json-diff-kit": "^1.0.32",
Expand All @@ -68,15 +68,15 @@
"@storybook/react": "8.6.0-alpha.0",
"@storybook/react-vite": "8.6.0-alpha.0",
"@types/node": "^22.14.1",
"@types/react": "^18.2.15",
"@types/react": "^19.0.0",
"@types/react-window": "^1.8.8",
"eslint": "^9.33.0",
"eslint-plugin-format": "^1.0.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"lint-staged": "^16.1.5",
"postcss": "^8.5.1",
"react": "^18.2.0",
"react": "^19.0.0",
"rollup": "^3.26.3",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const VirtualizedDiffViewer: React.FC<VirtualizedDiffViewerProps> = ({
miniMapWidth,
}) => {
const listRef = useRef<List>(null);
const searchTimeoutRef = useRef<NodeJS.Timeout>();
const searchTimeoutRef = useRef<NodeJS.Timeout | undefined>(undefined);
const [scrollTop, setScrollTop] = useState(0);

const [segments, setSegments] = useState<SegmentItem[]>([]);
Expand Down