mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 02:15:05 +03:00
remove logs
This commit is contained in:
1 parent
57b7cafc22
commit
46be2943f3
2 files changed
-15
No files matched your search
@@ -139,13 +139,6 @@ const ProjectLinker = ({
|
||||
? filteredForeignProjects.find((x) => x.id?.toLowerCase() === vercelProjectId?.toLowerCase())
|
||||
: undefined
|
||||
|
||||
// console.log('selectedSupabaseProject', selectedSupabaseProject)
|
||||
console.log('filteredForeignProjects', filteredForeignProjects)
|
||||
console.log('vercelProjectId', vercelProjectId)
|
||||
console.log('selectedVercelProject', selectedVercelProject)
|
||||
|
||||
// console.log('supabaseProjects', supabaseProjects)
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4">
|
||||
<div className="relative border rounded-lg p-12 bg shadow">
|
||||
@@ -232,7 +225,6 @@ const ProjectLinker = ({
|
||||
<div className="border border-scale-1000 h-px w-16 border-dashed self-end mb-5"></div>
|
||||
<Panel>
|
||||
<div className="bg-black shadow rounded p-1 w-12 h-12 flex justify-center items-center">
|
||||
{/* <img src="/img/icons/vercel.svg" style={{ height: 21 }} alt="integration icon" /> */}
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="white"
|
||||
@@ -300,7 +292,6 @@ const ProjectLinker = ({
|
||||
key={project.id}
|
||||
className="flex gap-2 items-center"
|
||||
onSelect={(id) => {
|
||||
console.log('id set', id)
|
||||
if (id) setVercelProjectId(id)
|
||||
setVercelProjectsComboboxOpen(false)
|
||||
}}
|
||||
|
||||
@@ -78,7 +78,6 @@ const VercelIntegration: NextPageWithLayout = () => {
|
||||
useEffect(() => {
|
||||
if (organizationsData !== undefined && integrationData !== undefined) {
|
||||
const firstOrg = organizationsWithInstalls(organizationsData)?.[0]
|
||||
console.log('firstOrg', firstOrg)
|
||||
|
||||
if (firstOrg && selectedOrg === null) {
|
||||
setSelectedOrg(firstOrg)
|
||||
@@ -210,8 +209,6 @@ const VercelIntegration: NextPageWithLayout = () => {
|
||||
? true
|
||||
: false
|
||||
|
||||
console.log('selectedOrg', selectedOrg)
|
||||
|
||||
return (
|
||||
<>
|
||||
<main className="overflow-auto flex flex-col h-full">
|
||||
@@ -227,10 +224,7 @@ const VercelIntegration: NextPageWithLayout = () => {
|
||||
integrationName="Vercel"
|
||||
organizationsWithInstalledData={organizationsWithInstalledData}
|
||||
onSelectedOrgChange={(e: string) => {
|
||||
console.log('e:', e)
|
||||
|
||||
const org = organizationsWithInstalledData?.find((org) => org.slug === e)
|
||||
console.log('const:', org)
|
||||
|
||||
if (org) {
|
||||
setSelectedOrg(org)
|
||||
|
||||
Reference in new issue
Block a user