From 602ff4a59c3a650cd680be3cb3d283f582fab0eb Mon Sep 17 00:00:00 2001 From: mortezaei Date: Mon, 17 Aug 2026 13:32:18 +0330 Subject: [PATCH 1/2] fix --- .../Componentes/question-answer-storage.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/Componentes/question-answer-storage.tsx b/src/components/Componentes/question-answer-storage.tsx index c7ea0f3..83d63de 100644 --- a/src/components/Componentes/question-answer-storage.tsx +++ b/src/components/Componentes/question-answer-storage.tsx @@ -478,12 +478,19 @@ export function QuestionAnswersProvider({ return; } - const fullPayload = createPayload(answersRef.current, questionsRef.current, backendFieldsRef.current); - const nextDirtyKey = fullPayload.fields.find((field) => dirtyKeysRef.current.has(field.key))?.key; + const fullPayload = createPayload( + answersRef.current, + questionsRef.current, + backendFieldsRef.current, + ); + const nextDirtyKey = fullPayload.fields.find((field) => + dirtyKeysRef.current.has(field.key), + )?.key; const payload = { ...fullPayload, - fields: nextDirtyKey ? fullPayload.fields.filter((field) => field.key === nextDirtyKey) : [], - version: schemaVersionRef.current, + fields: nextDirtyKey + ? fullPayload.fields.filter((field) => field.key === nextDirtyKey) + : [], }; const revision = answersRevisionRef.current; From 7daf8b81ea9ef49c98d52c30d739a758251c2be5 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Mon, 17 Aug 2026 13:33:59 +0330 Subject: [PATCH 2/2] fix --- src/components/Componentes/token-switcher.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Componentes/token-switcher.tsx b/src/components/Componentes/token-switcher.tsx index b8bc37e..d1cf0c2 100644 --- a/src/components/Componentes/token-switcher.tsx +++ b/src/components/Componentes/token-switcher.tsx @@ -1,6 +1,7 @@ "use client"; import { useEffect, useState } from "react"; +import { IoClose, IoKeyOutline, IoTrashOutline } from "react-icons/io5"; import { MdOutlineSwitchAccount } from "react-icons/md"; import { getClientCookie, setClientCookie } from "@/lib/cookies"; import { setCachedMarriageEntryPath } from "@/lib/entry-route-cache";