diff --git a/docs/uploader/aws-s3.mdx b/docs/uploader/aws-s3.mdx index 0fd802dc3..89806b447 100644 --- a/docs/uploader/aws-s3.mdx +++ b/docs/uploader/aws-s3.mdx @@ -251,8 +251,8 @@ Otherwise, you can manually apply it through the OAuth playground: ### Use with your own server -The recommended approach is to integrate `@uppy/aws-s3` with your own -server. You will need to do the following things: +The recommended approach is to integrate `@uppy/aws-s3` with your own server. +You will need to do the following things: 1. Setup a bucket 2. Create endpoints in your server. You can create them as edge functions (such diff --git a/src/pages/examples.tsx b/src/pages/examples.tsx index ad98531e2..d64c65223 100644 --- a/src/pages/examples.tsx +++ b/src/pages/examples.tsx @@ -1,4 +1,10 @@ -import React, { memo, useCallback, useEffect, useReducer, useState } from 'react'; +import React, { + memo, + useCallback, + useEffect, + useReducer, + useState, +} from 'react'; import Layout from '@theme/Layout'; import Admonition from '@theme/Admonition'; @@ -17,7 +23,7 @@ import Audio from '@uppy/audio'; import ScreenCapture from '@uppy/screen-capture'; import ImageEditor from '@uppy/image-editor'; import Tus from '@uppy/tus'; -import GoldenRetriever from '@uppy/golden-retriever' +import GoldenRetriever from '@uppy/golden-retriever'; import locales from '../locales.js'; @@ -196,18 +202,18 @@ const Uppy = memo(({ state, locale }) => { .use(Url, { companionUrl }) .use(OneDrive, { companionUrl }) .use(Unsplash, { companionUrl }) - .use(Box, { companionUrl }) + .use(Box, { companionUrl }); - if (state.enableGoldenRetriever) { - ret.use(GoldenRetriever) - } - - return ret - }, [state, locale]) + if (state.enableGoldenRetriever) { + ret.use(GoldenRetriever); + } + + return ret; + }, [state, locale]); - const [uppy, setUppy] = useState(createUppy) + const [uppy, setUppy] = useState(createUppy); - useEffect(() => setUppy(createUppy()), [createUppy]) + useEffect(() => setUppy(createUppy()), [createUppy]); return (