MCPcopy Create free account
hub / github.com/dailydotdev/apps / SearchContext.tsx

File SearchContext.tsx

packages/shared/src/contexts/search/SearchContext.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createContextProvider } from '@kickass-coderz/react';
2import { useCallback, useEffect, useMemo, useState } from 'react';
3import { useRouter } from 'next/router';
4import type { SearchTimeKey } from '../../graphql/search';

Callers

nothing calls this directly

Calls 4

getSearchTimeFromUrlFunction · 0.90
getSearchTimeQueryParamFunction · 0.90
replaceMethod · 0.80
useRouterFunction · 0.50

Tested by

no test coverage detected