Fix: availability not deleteable (#8086)

* fix: make availability deletable

* test: add e2e

* chore: add test id

* test: add a new test

* fix: remove utility
This commit is contained in:
Nafees Nazik authored and GitHub committed 2023-04-05 12:42:22 -03:00
1 parent e043a5efd8
commit 6986b5af40
4 files changed
+35 -14

No files matched your search

+3 -3
View File
@@ -17,7 +17,7 @@ export const SuccessToast = ({ message, toastVisible }: IToast) => (
<span>
<FiCheck className="h-4 w-4" />
</span>
<p>{message}</p>
<p data-testid="toast-success">{message}</p>
</div>
);
@@ -30,7 +30,7 @@ export const ErrorToast = ({ message, toastVisible }: IToast) => (
<span>
<FiInfo className="h-4 w-4" />
</span>
<p>{message}</p>
<p data-testid="toast-error">{message}</p>
</div>
);
@@ -43,7 +43,7 @@ export const WarningToast = ({ message, toastVisible }: IToast) => (
<span>
<FiInfo className="h-4 w-4" />
</span>
<p>{message}</p>
<p data-testid="toast-warning">{message}</p>
</div>
);