From db1fa825c4dfaf59d46347062c317750786939c5 Mon Sep 17 00:00:00 2001 From: DigitalPhoenixX Date: Mon, 7 Feb 2022 21:48:06 +0200 Subject: [PATCH] fix: public is always true in edit folder --- components/Bookmarks/AddFolderBottomSheet.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Bookmarks/AddFolderBottomSheet.jsx b/components/Bookmarks/AddFolderBottomSheet.jsx index cd05f66..abb56d5 100644 --- a/components/Bookmarks/AddFolderBottomSheet.jsx +++ b/components/Bookmarks/AddFolderBottomSheet.jsx @@ -90,7 +90,7 @@ const AddFolderBottomSheet = ({ const formik = useFormik({ initialValues: { title: itemToEdit?.title || '', - isPublic: itemToEdit?.isPublic || true, + isPublic: itemToEdit?.isPublic ?? true, }, enableReinitialize: true, initialErrors: { title: false },