Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove console logs

Jonathan Summers-Muir9bb3f4f31001
diff --git a/apps/docs/components/DocSearch.tsx b/apps/docs/components/DocSearch.tsx
index 1738200c85d..7ff1a5ece2a 100644
--- a/apps/docs/components/DocSearch.tsx
+++ b/apps/docs/components/DocSearch.tsx
@@ -84,7 +84,7 @@ export function SearchProvider({ children }: any) {
hitComponent={Hit}
transformItems={(items) => {
return items.map((item, index) => {
- console.log('item', item)
+ // console.log('item', item)
// We transform the absolute URL into a relative URL to
// leverage Next's preloading.
const a = document.createElement('a')
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
index 2f1c8c64e02..dc309823ad7 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
@@ -170,13 +170,6 @@ interface INavigationMenuRefList {
const Content: React.FC<INavigationMenuRefList> = ({ id, lib, commonSections, spec }) => {
const allowedClientKeys = spec ? generateAllowedClientLibKeys(commonSections, spec) : undefined
- console.log(
- id && 'id changed',
- lib && 'lib changed',
- commonSections && 'commonSections changed',
- allowedClientKeys && 'allowedClientKeys changed'
- )
-
let sections = commonSections
const allowedKeys = allowedClientKeys
@@ -226,9 +219,6 @@ const Content: React.FC<INavigationMenuRefList> = ({ id, lib, commonSections, sp
}).items.map((x) => x.id)
: []
- // console.log(filterIds)
- // console.log(modifierIds)
-
return (
<div className={'w-full flex flex-col gap-0 sticky top-8'}>
<Link href="/" passHref>
diff --git a/apps/docs/layouts/ref/RefSubLayout.tsx b/apps/docs/layouts/ref/RefSubLayout.tsx
index 3357e427ed1..84305bb4c00 100644
--- a/apps/docs/layouts/ref/RefSubLayout.tsx
+++ b/apps/docs/layouts/ref/RefSubLayout.tsx
@@ -55,7 +55,6 @@ const RefSubLayout: FC<RefSubLayoutType> & RefSubLayoutSubComponents = (props) =
}
const Section: FC<ISectionContainer> = (props) => {
- // console.log({ props })
return (
<article
key={props.id}
@@ -149,7 +148,6 @@ const EducationRow: FC<IEducationRow> = (props) => {
}
const EducationSection: FC<IEducationSection> = ({ icon, hideTitle = false, ...props }) => {
- // console.log({ props })
return (
<article
key={props.id}