Skip to content

Commit 1ee3f8b

Browse files
fix: small code cleanup from review
1 parent 7924f5a commit 1ee3f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library-authoring/create-collection/CreateCollectionModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const CreateCollectionModal = () => {
2323
isCreateCollectionModalOpen,
2424
closeCreateCollectionModal,
2525
} = useLibraryContext();
26-
const create = useCreateLibraryCollection(libraryId!);
26+
const create = useCreateLibraryCollection(libraryId);
2727
const { showToast } = React.useContext(ToastContext);
2828

2929
const handleCreate = React.useCallback((values) => {

0 commit comments

Comments
 (0)