Clean up build
This commit is contained in:
@ -34,8 +34,6 @@ export function PrimaryLayout(props: PrimaryLayoutProps): JSX.Element {
|
||||
const [showKeyboardCommandsModal, setShowKeyboardCommandsModal] =
|
||||
useState(false)
|
||||
|
||||
// useKeyboardShortcuts(navigationCommands(router))
|
||||
|
||||
useKeyboardShortcuts(
|
||||
primaryCommands((action) => {
|
||||
switch (action) {
|
||||
|
||||
@ -61,7 +61,6 @@ export function SettingsLayout(props: SettingsLayoutProps): JSX.Element {
|
||||
const [showKeyboardCommandsModal, setShowKeyboardCommandsModal] =
|
||||
useState(false)
|
||||
|
||||
useKeyboardShortcuts(navigationCommands(router))
|
||||
applyStoredTheme()
|
||||
|
||||
const showLogout = useCallback(() => {
|
||||
|
||||
@ -38,9 +38,6 @@ export default function DebugHome(): JSX.Element {
|
||||
const refreshHome = useCallback(() => {
|
||||
;(async () => {
|
||||
refreshHomeMutation()
|
||||
if (homeData?.mutate) {
|
||||
homeData.mutate()
|
||||
}
|
||||
})()
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user