From 3c1a1512926cbe8197a4333d63d9337793abf131 Mon Sep 17 00:00:00 2001 From: Dave Mackey Date: Thu, 31 Mar 2022 22:35:12 -0400 Subject: [PATCH] Update with-react.mdx Add instruction for installing @reach/visually-hidden, otherwise profile photos functionality causes build to fail. --- web/docs/guides/with-react.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/docs/guides/with-react.mdx b/web/docs/guides/with-react.mdx index d0455fad550..a925965c478 100644 --- a/web/docs/guides/with-react.mdx +++ b/web/docs/guides/with-react.mdx @@ -419,6 +419,9 @@ And then open the browser to [localhost:3000](http://localhost:3000) and you sho Every Supabase project is configured with [Storage](/docs/guides/storage) for managing large files like photos and videos. +### Add @reach/visually-hidden +The upload widget uses one additional npm library. You can install it like so: `npm install @reach/visually-hidden`. + ### Create an upload widget Let's create an avatar for the user so that they can upload a profile photo. We can start by creating a new component: