Skip to content

Commit b228742

Browse files
Update src/pages/index.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 52d8515 commit b228742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default function Home() {
6969

7070
let currRef = rawRef ? (rawRef as string) : null;
7171

72-
if (currRef && /^\d+$/.test(currRef)) {
72+
if (currRef && !/^\d+$/.test(currRef)) {
7373
currRef = null;
7474
}
7575

0 commit comments

Comments
 (0)