chore: show toast message when update test run/case (#25)
This commit is contained in:
@@ -82,6 +82,7 @@ type CaseMessages = {
|
||||
backToCases: string;
|
||||
updating: string;
|
||||
update: string;
|
||||
updatedTestCase: string;
|
||||
basic: string;
|
||||
title: string;
|
||||
pleaseEnterTitle: string;
|
||||
|
||||
@@ -56,6 +56,7 @@ type RunMessages = {
|
||||
backToRuns: string;
|
||||
updating: string;
|
||||
update: string;
|
||||
updatedTestRun: string;
|
||||
progress: string;
|
||||
refresh: string;
|
||||
id: string;
|
||||
|
||||
@@ -8,5 +8,5 @@ export type ToastMessages = {
|
||||
};
|
||||
|
||||
export type ToastContextType = {
|
||||
showToast: (text: string, mode: string) => void;
|
||||
showToast: (text: string, mode: 'error' | 'dark') => void;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user