fix(frontend): import React explicitly in UITexts and fix toast call signature
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
parent
172fed92b7
commit
47437883dd
@ -1,4 +1,4 @@
|
||||
import { useState, useEffect, useRef } from 'react';
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import {
|
||||
Languages,
|
||||
Save,
|
||||
@ -540,7 +540,7 @@ export default function UITexts() {
|
||||
const handleSaveAll = async () => {
|
||||
const dirtyKeys = Object.keys(edits);
|
||||
if (dirtyKeys.length === 0) {
|
||||
toast.info('هیچ تغییری برای ذخیره وجود ندارد');
|
||||
toast('هیچ تغییری برای ذخیره وجود ندارد');
|
||||
return;
|
||||
}
|
||||
setIsSavingAll(true);
|
||||
|
||||
2
graphify-out/cache/stat-index.json
vendored
2
graphify-out/cache/stat-index.json
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user