mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
Cody Ignore: use "cache-and-network" fetch policy for context filters query (#62545)
This commit is contained in:
parent
c960789f9d
commit
4c0399d3f9
@ -195,7 +195,7 @@ const CODY_CONTEXT_FILTERS_QUERY = gql`
|
||||
const EnterpriseProvider: React.FC<React.PropsWithChildren<{}>> = ({ children }) => {
|
||||
const { data, error, loading } = useQuery<ContextFiltersResult, ContextFiltersVariables>(
|
||||
CODY_CONTEXT_FILTERS_QUERY,
|
||||
{}
|
||||
{ fetchPolicy: 'cache-and-network' }
|
||||
)
|
||||
const [fns, setFns] = useState<CodyIgnoreFns>({ isRepoIgnored: alwaysTrue, isFileIgnored: alwaysTrue })
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user