Enhance sidebar toggle button
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing

This commit is contained in:
nf3lix 2023-07-12 22:13:04 +02:00
parent e21ca799d6
commit 5d70be142d

View file

@ -20,7 +20,7 @@ function useSidebarVisibility() {
return { sidebarVisibility, toggleSidebarVisibility, sidebarToggleText }
}
const getSidebarToggleText = (sidebarVisibility: sidebarVisibilityOptions) => {
if (sidebarVisibility === 'full') return '<-'
if (sidebarVisibility === 'full') return '<--'
if (sidebarVisibility === 'small') return '<-'
if (sidebarVisibility === 'hidden') return '->'
}