Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodebrute committed Nov 19, 2024
1 parent 74d1486 commit 4292b3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/home/sidebar/SidebarLinksData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ function SidebarLinksData({insets}: SidebarLinksDataProps) {
// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps
}, [activeWorkspaceID]);

const isLoading = isLoadingApp;
const currentReportIDRef = useRef(currentReportID);
// eslint-disable-next-line react-compiler/react-compiler
currentReportIDRef.current = currentReportID;
Expand All @@ -55,7 +54,7 @@ function SidebarLinksData({insets}: SidebarLinksDataProps) {
priorityMode={priorityMode ?? CONST.PRIORITY_MODE.DEFAULT}
// Data props:
isActiveReport={isActiveReport}
isLoading={isLoading ?? false}
isLoading={isLoadingApp ?? false}
activeWorkspaceID={activeWorkspaceID}
optionListItems={orderedReportIDs}
/>
Expand Down

0 comments on commit 4292b3a

Please sign in to comment.