Skip to content

Commit eb4c5fb

Browse files
committed
Adds a cancel button
1 parent 20271df commit eb4c5fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/webapp/app/components/errors/ConfigureErrorAlerts.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,16 @@ export function ConfigureErrorAlerts({
323323
</fetcher.Form>
324324
</div>
325325

326-
<div className="border-t border-grid-bright px-4 py-3">
326+
<div className="flex items-center justify-between border-t border-grid-bright px-3 py-3">
327+
<LinkButton variant="secondary/medium" to={closeHref}>
328+
Cancel
329+
</LinkButton>
327330
<Button
328331
variant="primary/medium"
329332
type="submit"
330333
form="configure-error-alerts"
331334
disabled={isSubmitting}
332335
isLoading={isSubmitting}
333-
fullWidth
334336
>
335337
{isSubmitting ? "Saving…" : "Save"}
336338
</Button>

0 commit comments

Comments
 (0)