Skip to content

Commit 98957bb

Browse files
committed
prettier
1 parent 31591a3 commit 98957bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docusaurus/src/client/preload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {matchRoutes} from 'react-router-config';
1818
*/
1919
export default function preload(pathname: string): Promise<void[]> {
2020
const matches = Array.from(new Set([pathname, decodeURI(pathname)]))
21-
.map(p => matchRoutes(routes, p))
21+
.map((p) => matchRoutes(routes, p))
2222
.flat();
2323

2424
return Promise.all(matches.map((match) => match.route.component.preload?.()));

0 commit comments

Comments
 (0)