Skip to content

Commit

Permalink
Fix typo in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Nov 3, 2023
1 parent 60ec384 commit cb714ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("useSearch", () => {

test("useLocation works in node", () => {
const App = () => {
const path = useLocation();
const [path] = useLocation();
return <>{path}</>;
};

Expand Down

0 comments on commit cb714ce

Please sign in to comment.