Compare commits

..

2 commits

Author SHA1 Message Date
qvalentin bf48a8d4cc Merge pull request 'Enhance sidebar toggle button' (#3) from feature/enhance_sidebar_toggle into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2023-07-12 22:17:09 +02:00
nf3lix 5d70be142d Enhance sidebar toggle button
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2023-07-12 22:13:04 +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 '->'
}