feat: tier list share button

This commit is contained in:
tresabhi committed 2024-11-26 20:04:05 -06:00
1 parent 258279205d
commit f5d06631c2
5 files changed
+67 -3

No files matched your search

@@ -0,0 +1,9 @@
export function generateTierListParams(tanks: number[][]) {
const params = new URLSearchParams();
tanks.forEach((row, index) => {
params.set(`row-${index}`, row.join(','));
});
return params;
}