mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-25 20:37:34 +00:00
last thing
This commit is contained in:
1 parent
c2cf695c17
commit
13702a2f62
1 file changed
+3
-2
@@ -21,8 +21,9 @@ const ToolBar = ({ displayOptions, onDisplayOptionsChange, visiblePages, totalPa
|
||||
}, [visiblePages]);
|
||||
|
||||
useEffect(()=>{
|
||||
const visibility = localStorage.getItem('hb_toolbarVisibility');
|
||||
if(visibility) setToolsVisible(visibility);
|
||||
const Visibility = localStorage.getItem('hb_toolbarVisibility');
|
||||
if (Visibility) setToolsVisible(Visibility === 'true');
|
||||
|
||||
}, []);
|
||||
|
||||
const handleZoomButton = (zoom)=>{
|
||||
|
||||
Reference in new issue
Block a user