Skip to content

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

Fix comments

Joshen Lim63cc8efc040f
diff --git a/studio/components/interfaces/Auth/AutoSchemaForm.tsx b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
index 0ceed54e183..f06fdd072fd 100644
--- a/studio/components/interfaces/Auth/AutoSchemaForm.tsx
+++ b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
@@ -121,13 +121,15 @@ const AutoSchemaForm = observer(() => {
id="JWT_EXP"
size="small"
label="JWT expiry limit"
- descriptionText="How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week)."
+ labelOptional="In seconds"
+ descriptionText="How long tokens are valid for. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week)."
/>
<InputNumber
id="SECURITY_REFRESH_TOKEN_REUSE_INTERVAL"
size="small"
min={0}
label="Reuse Interval"
+ labelOptional="In seconds"
descriptionText="Time interval where the same refresh token can be used to request for an access token."
/>
</FormSectionContent>
diff --git a/studio/components/interfaces/Auth/RedirectDomains/DomainList.tsx b/studio/components/interfaces/Auth/RedirectDomains/DomainList.tsx
index 622d87f4dbb..cc985ee818c 100644
--- a/studio/components/interfaces/Auth/RedirectDomains/DomainList.tsx
+++ b/studio/components/interfaces/Auth/RedirectDomains/DomainList.tsx
@@ -32,23 +32,21 @@ const DomainList: FC<Props> = ({ onSelectDomainToDelete }) => {
) : URI_ALLOW_LIST_ARRAY.length > 0 ? (
URI_ALLOW_LIST_ARRAY.map((domain: string) => {
return (
- <>
- <ValueContainer>
- <div className="flex items-center gap-2 font-mono">
- <span className="text-scale-900">
- <IconGlobe strokeWidth={2} size={14} />
- </span>
- {domain}
- </div>
- <Button
- type="default"
- icon={<IconTrash />}
- onClick={() => onSelectDomainToDelete(domain)}
- >
- Remove
- </Button>
- </ValueContainer>
- </>
+ <ValueContainer key={domain}>
+ <div className="flex items-center gap-2 font-mono">
+ <span className="text-scale-900">
+ <IconGlobe strokeWidth={2} size={14} />
+ </span>
+ {domain}
+ </div>
+ <Button
+ type="default"
+ icon={<IconTrash />}
+ onClick={() => onSelectDomainToDelete(domain)}
+ >
+ Remove
+ </Button>
+ </ValueContainer>
)
})
) : (