chore: show toast message when update test run/case (#25)

This commit is contained in:
Takeshi Kimata
2024-09-07 18:19:47 +09:00
committed by GitHub
parent cc84f16235
commit 1ab7bf9c1b
10 changed files with 41 additions and 25 deletions

View File

@@ -82,6 +82,7 @@ type CaseMessages = {
backToCases: string;
updating: string;
update: string;
updatedTestCase: string;
basic: string;
title: string;
pleaseEnterTitle: string;

View File

@@ -56,6 +56,7 @@ type RunMessages = {
backToRuns: string;
updating: string;
update: string;
updatedTestRun: string;
progress: string;
refresh: string;
id: string;

View File

@@ -8,5 +8,5 @@ export type ToastMessages = {
};
export type ToastContextType = {
showToast: (text: string, mode: string) => void;
showToast: (text: string, mode: 'error' | 'dark') => void;
};