a tool for shared writing and social publishing

mutate identity data after adding domain

+2
+2
components/ShareOptions/DomainOptions.tsx
··· 263 263 setDomainMenuState: (state: DomainMenuState) => void; 264 264 }) => { 265 265 let [value, setValue] = useState(""); 266 + let { mutate } = useIdentityData(); 266 267 let smoker = useSmoker(); 267 268 return ( 268 269 <div className="flex flex-col gap-1 px-3 py-1 max-w-full w-[600px]"> ··· 302 303 }); 303 304 return; 304 305 } 306 + mutate(); 305 307 props.setDomainMenuState({ state: "domain-settings", domain: value }); 306 308 }} 307 309 >