Skip to content

Commit

Permalink
fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fde31 committed Feb 19, 2024
1 parent ce0d6e0 commit f2f77b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const SettingsTabPanel: FunctionComponent<SettingsTabPanelProps> = memo(function
}
</Stack>
</Tabs.Panel>
)
);
});

const tabConfigByTab: Record<SettingsTab, TabConfig> = {
Expand Down Expand Up @@ -173,7 +173,7 @@ const Settings: FunctionComponent = memo(function WrappedSettings() {
const onCloseSettingsModal = useCallback(() => {
dispatch(hideSettings());
setTimeout(() => setShowAbout(false), 300);
}, [dispatch, hideSettings, setShowAbout]);
}, [dispatch, setShowAbout]);

const onChangeSettingsTab = useCallback((tab: SettingsTab) => setActiveTab(tab), [setActiveTab]);

Expand Down

0 comments on commit f2f77b5

Please sign in to comment.