diff options
author | Brian Kim <brian@tagg.id> | 2021-06-15 17:15:43 +0900 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-06-15 17:15:43 +0900 |
commit | 4a422e43c6a6deaeff5d8fcc692138454653e4b9 (patch) | |
tree | 2e86ab879ea35e879581eb64be955d0e5481ff80 /src/components/common/BottomDrawer.tsx | |
parent | c57b4959c90cec90dd0936f75a9086a4430b66b1 (diff) | |
parent | db0678d647f774dcb1cd60513985d9b6fbd0e28b (diff) |
Merge with master
Diffstat (limited to 'src/components/common/BottomDrawer.tsx')
-rw-r--r-- | src/components/common/BottomDrawer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/common/BottomDrawer.tsx b/src/components/common/BottomDrawer.tsx index 16e98690..b79b8820 100644 --- a/src/components/common/BottomDrawer.tsx +++ b/src/components/common/BottomDrawer.tsx @@ -23,7 +23,7 @@ const BottomDrawer: React.FC<BottomDrawerProps> = (props) => { const {isOpen, setIsOpen, showHeader, initialSnapPosition} = props; const drawerRef = useRef<BottomSheet>(null); const [modalVisible, setModalVisible] = useState(isOpen); - const bgAlpha = useValue(isOpen ? 1 : 0); + const bgAlpha = useValue(isOpen ? 0 : 1); useEffect(() => { if (isOpen) { |