remove unused

This commit is contained in:
Josh Hawkins 2026-05-02 23:26:53 -05:00
parent b01d4779da
commit cbefc3acc4
2 changed files with 2 additions and 7 deletions

View File

@ -19,13 +19,11 @@
"startLabel": "Start", "startLabel": "Start",
"endLabel": "End", "endLabel": "End",
"toast": { "toast": {
"success": "Debug replay started successfully",
"error": "Failed to start debug replay: {{error}}", "error": "Failed to start debug replay: {{error}}",
"alreadyActive": "A replay session is already active", "alreadyActive": "A replay session is already active",
"stopped": "Debug replay stopped", "stopped": "Debug replay stopped",
"stopError": "Failed to stop debug replay: {{error}}", "stopError": "Failed to stop debug replay: {{error}}",
"goToReplay": "Go to Replay", "goToReplay": "Go to Replay"
"preparingClip": "Preparing replay clip…"
} }
}, },
"page": { "page": {

View File

@ -262,10 +262,7 @@ export default function MobileReviewSettingsDrawer({
end_time: debugReplayRange.before, end_time: debugReplayRange.before,
}); });
if (response.status === 200) { if (response.status === 202 || response.status === 200) {
toast.success(t("dialog.toast.success", { ns: "views/replay" }), {
position: "top-center",
});
setDebugReplayMode("none"); setDebugReplayMode("none");
setDebugReplayRange(undefined); setDebugReplayRange(undefined);
setDrawerMode("none"); setDrawerMode("none");