We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9ec44 commit 372c1aeCopy full SHA for 372c1ae
ui/site/src/gameSearch.ts
@@ -54,8 +54,8 @@ window.lichess.load.then(() => {
54
55
function serialize() {
56
const params = new URLSearchParams();
57
- for (let [k, v] of new FormData(form).entries()) {
58
- if (v != '') params.set(k, v as any); // typescript wants v to be a File
+ for (const [k, v] of new FormData(form).entries()) {
+ if (v != '') params.set(k, v as string);
59
}
60
return params.toString();
61
0 commit comments