This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: enter in collection create form causes full page reload

+3 -2
+3 -2
src/webapp/features/collections/components/createCollectionDrawer/CreateCollectionDrawer.tsx
··· 34 34 35 35 const handleCreateCollection = (e: React.FormEvent) => { 36 36 e.preventDefault(); 37 + e.stopPropagation(); 37 38 38 39 createCollection.mutate( 39 40 { ··· 78 79 </Drawer.Header> 79 80 80 81 <Container size={'sm'}> 81 - <form> 82 + <form onSubmit={handleCreateCollection}> 82 83 <Stack> 83 84 <TextInput 84 85 id="name" ··· 114 115 Cancel 115 116 </Button> 116 117 <Button 117 - onClick={handleCreateCollection} 118 + type="submit" 118 119 size="md" 119 120 loading={createCollection.isPending} 120 121 >