From 52fd66247eb987511ac3c837950180d4a06ee70c Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Fri, 4 Jul 2025 14:19:30 -0400 Subject: [PATCH] mutate identity data after adding domain --- components/ShareOptions/DomainOptions.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/ShareOptions/DomainOptions.tsx b/components/ShareOptions/DomainOptions.tsx index 14b32954..f401b348 100644 --- a/components/ShareOptions/DomainOptions.tsx +++ b/components/ShareOptions/DomainOptions.tsx @@ -263,6 +263,7 @@ export const AddDomain = (props: { setDomainMenuState: (state: DomainMenuState) => void; }) => { let [value, setValue] = useState(""); + let { mutate } = useIdentityData(); let smoker = useSmoker(); return (
@@ -302,6 +303,7 @@ export const AddDomain = (props: { }); return; } + mutate(); props.setDomainMenuState({ state: "domain-settings", domain: value }); }} > -- 2.54.0