tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
291
fork
atom
a tool for shared writing and social publishing
291
fork
atom
overview
issues
28
pulls
pipelines
mutate identity data after adding domain
awarm.space
8 months ago
52fd6624
35fbd6a5
+2
1 changed file
expand all
collapse all
unified
split
components
ShareOptions
DomainOptions.tsx
+2
components/ShareOptions/DomainOptions.tsx
···
263
263
setDomainMenuState: (state: DomainMenuState) => void;
264
264
}) => {
265
265
let [value, setValue] = useState("");
266
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
306
+
mutate();
305
307
props.setDomainMenuState({ state: "domain-settings", domain: value });
306
308
}}
307
309
>