diff --git a/apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx index a4dc3776d47..66d9743c162 100644 --- a/apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx +++ b/apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx @@ -102,7 +102,13 @@ hideToc: true }, []); async function getInstruments() { - const { data } = await supabase.from("instruments").select(); + const { data, error } = await supabase.from("instruments").select(); + + if (error) { + console.error(error); + return; + } + setInstruments(data); } diff --git a/apps/docs/content/guides/local-development.mdx b/apps/docs/content/guides/local-development.mdx index 872f486567e..6b9490c59cf 100644 --- a/apps/docs/content/guides/local-development.mdx +++ b/apps/docs/content/guides/local-development.mdx @@ -116,7 +116,7 @@ As a prerequisite, you must install a container runtime compatible with Docker A -If your local development machine is connected to an untrusted public network, you should create a separate docker network and bind to 127.0.0.1 before starting the local development stack. This restricts network access to only your localhost machine. +If your local development machine is connected to an untrusted public network, you should create a separate Docker network and bind to 127.0.0.1 before starting the local development stack. This restricts network access to only your localhost machine. ```sh docker network create -o 'com.docker.network.bridge.host_binding_ipv4=127.0.0.1' local-network