Skip to content

Commit 80f0973

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 661f343 commit 80f0973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/hash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class Hash {
8181
_buildHashString = (params: URLSearchParams) => {
8282
const entries = Array.from(params.entries());
8383
if (entries.length === 0) return '';
84-
return entries.map(([key, value]) => value ? `${key}=${value}` : key).join('&');
84+
return entries.map(([key, value]) => `${key}=${value}`).join('&');
8585
};
8686

8787
_getCurrentHash = () => {

0 commit comments

Comments
 (0)