Skip to content

Commit

Permalink
perf: reduce footer bg render
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Jul 12, 2022
1 parent 14500e1 commit e9d1ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-theme-background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ export const useFooterBackground = (footerClassName: string) => {
)

return remove
})
}, [background.position, background.src, colorMode, footerClassName])
}

0 comments on commit e9d1ea0

Please sign in to comment.