aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/BottomDrawer.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-11 18:12:24 -0400
committerGitHub <noreply@github.com>2021-06-11 18:12:24 -0400
commit78f32c1400eff46d4c768b78fbaf672826c74285 (patch)
tree00e62c1821d4973d214fdd47f8293749972c1925 /src/components/common/BottomDrawer.tsx
parent4add0eed33032012fb945fb02a928aed426b9465 (diff)
parent24f79b9cb3456b3901155ed2e4c8fc66710b97b2 (diff)
Merge pull request #466 from IvanIFChen/tma904-moment-comment-revamp
[TMA-904] Moment Comment Revamp
Diffstat (limited to 'src/components/common/BottomDrawer.tsx')
-rw-r--r--src/components/common/BottomDrawer.tsx2
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) {