Skip to content

Commit

Permalink
perf(clearCache): remove unused attribute (alibaba#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchlq authored May 13, 2022
1 parent b1ff24e commit 70587be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function getArticle(): Promise<{ data: string; time: number }> {
}

const Article = ({ cacheKey }) => {
const { data, loading, refresh } = useRequest(getArticle, {
const { data, loading } = useRequest(getArticle, {
cacheKey,
});
if (!data && loading) {
Expand Down

0 comments on commit 70587be

Please sign in to comment.