Merge pull request #117 from kespinola/master
Wider Browser Version Support for NFT Upload
This commit is contained in:
commit
2ad2bbd0d4
|
@ -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[]) => {
|
||||
|
|
Loading…
Reference in New Issue