Skip to content

Commit

Permalink
fix: public is always true in edit folder
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSaidSallam committed Feb 7, 2022
1 parent 866a45c commit db1fa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Bookmarks/AddFolderBottomSheet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit db1fa82

Please sign in to comment.