MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / dnsSettings

Function dnsSettings

apps/web/ui/BrandingView/index.tsx:55–64  ·  view source on GitHub ↗
(mounted: boolean)

Source from the content-addressed store, hash-verified

53 }, []);
54
55 function dnsSettings(mounted: boolean) {
56 api
57 .getDnsSettings(currentCommunity.id)
58 .then((response) => {
59 if (mounted && response && response.records) {
60 setRecords(response.records);
61 }
62 })
63 .catch((_) => {});
64 }
65
66 const updateAccount = async (options?: any) => {
67 const form = document.getElementById('branding-form') as HTMLFormElement;

Callers 2

BrandingViewFunction · 0.85
validateDomainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected