fix(frontend): import React explicitly in UITexts and fix toast call signature
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
parsa aghaei committed 2026-08-18 20:44:17 +03:30
1 parent 172fed92b7
commit 47437883dd
3 files changed
+554 -554

No files matched your search

+2 -2
View File
@@ -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);