这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/site/app/(sidebar)/redirects-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ const handleRedirect = (
redirectList?.[window.location.hash]?.location;

if (newHash && newLocation) {
/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- TODO: Fix ESLint Error (#13355)
* biome-ignore lint/correctness/noVoidTypeReturn: Ignored using `--suppress`
/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- This is needed or else we can get crashes.
* */
router.push(`${newLocation ?? ""}${newHash ? `#${newHash}` : ""}`);
return;
Expand Down
3 changes: 1 addition & 2 deletions docs/site/scripts/collect-examples-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const examples = fs
dirent.name !== "node_modules"
)
.filter((dirent) => dirent.name !== "with-nextjs")
// @ts-expect-error -- TODO
.sort((a, b) => a.name - b.name)
.sort((a, b) => a.name.localeCompare(b.name))
.map((dirent) => dirent.name);

for (const example of examples) {
Expand Down
Loading