()
| 20 | setIsSubmitting(false); |
| 21 | } |
| 22 | async function handlecreateCollection() { |
| 23 | toast({ |
| 24 | title: "Creating Collection", |
| 25 | description: "Please wait", |
| 26 | }); |
| 27 | try { |
| 28 | await createCollection(); |
| 29 | toast({ |
| 30 | title: "Collection Created", |
| 31 | description: "Collection Created Successfully", |
| 32 | }); |
| 33 | } catch (error) { |
| 34 | toast({ |
| 35 | title: "Error", |
| 36 | description: "Error Creating Collection", |
| 37 | }); |
| 38 | } |
| 39 | } |
| 40 | return ( |
| 41 | <div> |
| 42 | <div className="flex justify-center space-x-3"> |
nothing calls this directly
no test coverage detected