MCPcopy Create free account
hub / github.com/chart-kit/react-native-chart-kit-example / applyUrl

Function applyUrl

App.tsx:430–434  ·  view source on GitHub ↗
(url: string | null | undefined)

Source from the content-addressed store, hash-verified

428
429 let isMounted = true;
430 const applyUrl = (url: string | null | undefined) => {
431 if (isMounted) {
432 applySearchParams(getShowcaseSearchParamsFromUrl(url));
433 }
434 };
435 const subscription = Linking.addEventListener("url", ({ url }) => {
436 applyUrl(url);
437 });

Callers 1

AppFunction · 0.85

Calls 1

Tested by

no test coverage detected