From 5d8bf9f454de4253fea9f139031acfe236d3f188 Mon Sep 17 00:00:00 2001 From: Innei Date: Tue, 23 Jul 2024 16:35:30 +0800 Subject: [PATCH] fix: react warning Signed-off-by: Innei --- src/renderer/src/modules/entry-column/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/modules/entry-column/index.tsx b/src/renderer/src/modules/entry-column/index.tsx index 3aa2d7aee..75dad99a1 100644 --- a/src/renderer/src/modules/entry-column/index.tsx +++ b/src/renderer/src/modules/entry-column/index.tsx @@ -381,7 +381,7 @@ const EntryList: FC< VirtuosoProps & { virtuosoRef: React.RefObject } -> = ({ ...virtuosoOptions }) => { +> = ({ virtuosoRef, ...virtuosoOptions }) => { const dataRef = useRefValue(virtuosoOptions.data!) const currentEntryIdRef = useRefValue(useRouteEntryId()) @@ -468,7 +468,7 @@ const EntryList: FC< ) }