diff --git a/packages/@uppy/provider-views/src/Loader.tsx b/packages/@uppy/provider-views/src/Loader.tsx deleted file mode 100644 index 8faf1ac682..0000000000 --- a/packages/@uppy/provider-views/src/Loader.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { h } from 'preact' -import type { I18n } from '@uppy/utils/lib/Translator' - -export default function Loader({ - i18n, - loading, -}: { - i18n: I18n - loading: string | boolean -}) { - return ( -
- {i18n('loading')} - {typeof loading === 'string' && ( // todo improve this, see discussion in https://github.com/transloadit/uppy/pull/4399#discussion_r1162564445 - {loading} - )} -
- ) -}