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
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
This commit is contained in:
commit
bf48a8d4cc
|
@ -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 '->'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue