easier timer validation

This commit is contained in:
cv
2021-04-21 23:56:29 +02:00
parent 4def72feeb
commit 8684d6876f
2 changed files with 22 additions and 11 deletions
@@ -14,3 +14,15 @@ export const showErrorToast = (title, description) => {
isClosable: true,
});
};
// warning toast
export const showWarningToast = (title, description) => {
toast({
title: title,
description: description,
position: 'top-left',
variant: 'subtle',
status: 'warning',
isClosable: true,
});
};