Merge pull request #117 from kespinola/master

Wider Browser Version Support for NFT Upload
This commit is contained in:
B 2021-07-14 09:47:25 +02:00 committed by GitHub
commit 2ad2bbd0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ export const cleanName = (name?: string): string | undefined => {
return undefined;
}
return name.replaceAll(' ', '-');
return name.replace(/\s+/g, '-');
};
export const getLast = <T>(arr: T[]) => {