Update packages/website/src/components/Uploader/UploaderElement.js

This commit is contained in:
Karol Wypchło 2021-08-03 15:39:42 +02:00 committed by GitHub
parent 46ed1e42d4
commit 3abd57642e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import { useTimeoutFn } from "react-use";
import ms from "ms";
import Link from "../Link";
const TOO_MANY_REQUESTS_RETRY = ms("5s"); // retry delay after "492: TOO_MANY_REQUESTS"
const TOO_MANY_REQUESTS_RETRY = ms("5s"); // retry delay after "429: TOO_MANY_REQUESTS"
const getFilePath = (file) => file.webkitRelativePath || file.path || file.name;