Skip to content

Commit 37ea52b

Browse files
authored
Fix transparent toasts (canada-ca#1215)
1 parent 90e3fef commit 37ea52b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/src/AdminPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function AdminPage() {
2525
toast({
2626
title: 'Error',
2727
description: message,
28-
status: 'failure',
28+
status: 'error',
2929
duration: 9000,
3030
isClosable: true,
3131
position: 'top-left',

frontend/src/AdminPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function AdminPanel({ orgName, permission }) {
2929
toast({
3030
title: 'Error',
3131
description: message,
32-
status: 'failure',
32+
status: 'error',
3333
duration: 9000,
3434
isClosable: true,
3535
position: 'top-left',

frontend/src/OrganizationDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function OrganizationDetails() {
4444
toast({
4545
title: 'Error',
4646
description: message,
47-
status: 'failure',
47+
status: 'error',
4848
duration: 9000,
4949
isClosable: true,
5050
position: 'top-left',

frontend/src/SummaryGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function SummaryGroup() {
1919
toast({
2020
title: 'Error',
2121
description: message,
22-
status: 'failure',
22+
status: 'error',
2323
duration: 9000,
2424
isClosable: true,
2525
position: 'top-left',

0 commit comments

Comments
 (0)