resolve strings

This commit is contained in:
Alex Holliday committed 2025-07-01 15:23:00 +08:00
1 parent 4c5bb66c3d
commit 6c4717d5f6
3 files changed
+12 -5

No files matched your search

+2 -2
View File
@@ -385,9 +385,9 @@ const useAddDemoMonitors = () => {
try {
setIsLoading(true);
await networkService.addDemoMonitors();
createToast({ body: t("settingsDemoMonitorsAdded") });
createToast({ body: t("monitorHooks.successAddDemoMonitors") });
} catch (error) {
createToast({ body: t("settingsFailedToAddDemoMonitors") });
createToast({ body: t("monitorHooks.failureAddDemoMonitors") });
} finally {
setIsLoading(false);
}