Skip to content

Commit

Permalink
fix: 修复后缀名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsmond2016 committed May 26, 2022
1 parent 2d8cb51 commit a62ca9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic/hook-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ const component = () => {
要创建 React Router 环境,我们可以使用 `createMemoryHistory` 这个 API:

```tsx
// tests/hooks/useQuery.test.ts
// tests/hooks/useQuery.test.tsx
import React from "react";
import useQuery from "hooks/useQuery";
import { createMemoryHistory, InitialEntry } from "history";
Expand Down

0 comments on commit a62ca9b

Please sign in to comment.