mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-13 19:36:26 +03:00
typo
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user