Enhance sidebar toggle button #3

Merged
qvalentin merged 1 commit from feature/enhance_sidebar_toggle into main 2023-07-12 22:17:09 +02:00

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 '->'
}