Skip to content

Commit bd3cc72

Browse files
committed
Fix space in big text view
1 parent 1977998 commit bd3cc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/bigtextview/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Page() {
77
const [text, setText] = useState("");
88

99
useEffect(() => {
10-
const hash = window.location.hash ?? "";
10+
const hash = decodeURI(window.location.hash) ?? "";
1111
setText(hash.replace(/^#/, ""));
1212
}, []);
1313

0 commit comments

Comments
 (0)