fix: userquery cache

This commit is contained in:
archer
2023-05-02 17:28:23 +08:00
parent 89234c197c
commit 9199e3e57d
4 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
import React, { useState } from 'react';
import Link from 'next/link';
import {
Card,
Box,
@@ -32,7 +31,7 @@ const OpenApi = () => {
data: apiKeys = [],
isLoading: isGetting,
refetch
} = useQuery([getOpenApiKeys], getOpenApiKeys);
} = useQuery(['getOpenApiKeys'], getOpenApiKeys);
const [apiKey, setApiKey] = useState('');
const { copyData } = useCopyData();