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
continuous-integration/drone/push Build is passing Details
Reviewed-on: #3
2023-07-12 22:17:09 +02:00
nf3lix 5d70be142d Enhance sidebar toggle button
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
2023-07-12 22:13:04 +02:00
1 changed files with 1 additions and 1 deletions

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