(artifactId: ArtifactId)
| 186 | }; |
| 187 | |
| 188 | const handleRemove = async (artifactId: ArtifactId) => { |
| 189 | const exit = await doRemove({ |
| 190 | params: { artifactId }, |
| 191 | reactivityKeys: artifactWriteKeys, |
| 192 | }); |
| 193 | trackEvent("artifact_removed", { success: Exit.isSuccess(exit) }); |
| 194 | if (Exit.isFailure(exit)) toast.error("Couldn't delete the artifact. Try again."); |
| 195 | }; |
| 196 | |
| 197 | return ( |
| 198 | // Wider than the settings column: three preview cards need the room, and |
no test coverage detected