This commit is contained in:
proddy
2026-06-08 20:41:11 +02:00
parent ecf416dc0a
commit ba7ea60af5

View File

@@ -1,4 +1,4 @@
import { useEffect, useState } from 'react'; import { useState } from 'react';
import { useBlocker } from 'react-router'; import { useBlocker } from 'react-router';
import { toast } from 'react-toastify'; import { toast } from 'react-toastify';
@@ -131,7 +131,7 @@ const CommandsPage = () => {
name: ci.name name: ci.name
})) }))
}); });
toast.success(LL.UPDATED_OF(LL.COMMANDS(1))); toast.success(LL.UPDATED_OF(LL.COMMANDS(0)));
} catch (error: unknown) { } catch (error: unknown) {
const message = error instanceof Error ? error.message : String(error); const message = error instanceof Error ? error.message : String(error);
toast.error(message); toast.error(message);