mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
fix: adding redirect urls
This commit is contained in:
1 parent
4647d50380
commit
b44d33c669
2 files changed
+2
-6
No files matched your search
@@ -5,7 +5,6 @@ import { useMemo, useState } from 'react'
|
||||
import { toast } from 'sonner'
|
||||
import { object, string } from 'yup'
|
||||
|
||||
import { Label } from '@ui/components/shadcn/ui/label'
|
||||
import { useParams } from 'common'
|
||||
import { ButtonTooltip } from 'components/ui/ButtonTooltip'
|
||||
import { FormHeader } from 'components/ui/Forms/FormHeader'
|
||||
@@ -20,10 +19,10 @@ import {
|
||||
Button,
|
||||
DialogSectionSeparator,
|
||||
Form,
|
||||
Input,
|
||||
Modal,
|
||||
WarningIcon,
|
||||
} from 'ui'
|
||||
import { Input } from 'ui-patterns/DataInputs/Input'
|
||||
import { urlRegex } from '../Auth.constants'
|
||||
import { RedirectUrlList } from './RedirectUrlList'
|
||||
import { ValueContainer } from './ValueContainer'
|
||||
@@ -209,8 +208,7 @@ export const RedirectUrls = () => {
|
||||
return (
|
||||
<>
|
||||
<Modal.Content className="flex flex-col gap-y-2">
|
||||
<Label htmlFor="url">URL</Label>
|
||||
<Input id="url" name="url" placeholder="https://mydomain.com" />
|
||||
<Input id="url" name="url" label="URL" placeholder="https://mydomain.com" />
|
||||
</Modal.Content>
|
||||
<DialogSectionSeparator />
|
||||
<Modal.Content>
|
||||
|
||||
-2
@@ -68,8 +68,6 @@ const ResourceExhaustionWarningBanner = () => {
|
||||
: RESOURCE_WARNING_MESSAGES[activeWarnings[0] as keyof typeof RESOURCE_WARNING_MESSAGES]
|
||||
?.metric
|
||||
|
||||
console.log({ metric })
|
||||
|
||||
const correctionUrl = (
|
||||
metric === undefined
|
||||
? undefined
|
||||
|
||||
Reference in new issue
Block a user