Skip to content

Commit

Permalink
chore(console): Delete unused Domain field in OAuth page (#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 authored Aug 10, 2023
1 parent 4de0ef1 commit 763bf25
Showing 1 changed file with 17 additions and 48 deletions.
65 changes: 17 additions & 48 deletions apps/console/app/routes/apps/$clientId/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -524,28 +524,24 @@ export default function AppDetailIndexPage() {

<div className="flex flex-col md:flex-row space-y-8 my-4 md:space-y-0 md:space-x-8 md:items-end">
<div className="flex-1 mb-1">
<ReadOnlyInput
id="appDomains"
label="Domain(s)"
className="cursor-no-drop"
value=""
required
<IconPicker
label="Upload Icon* (256x256)"
maxSize={1048576}
id="icon"
errorMessage={errors?.['icon']}
invalid={
errors !== undefined &&
errors.hasOwnProperty('icon') &&
(errors['icon'] as string).length > 0
}
setIsFormChanged={
setIsFormChanged as (val: boolean) => void
}
setIsImgUploading={
setIsImgUploading as (val: boolean) => void
}
url={appDetails.app.icon}
/>

<Text
type="span"
size="xs"
weight="medium"
className="text-gray-400"
>
<a
className="text-indigo-500"
href="https://discord.gg/rollupid"
>
Contact us
</a>{' '}
to enable this feature
</Text>
</div>

<div className="flex-1">
Expand All @@ -571,33 +567,6 @@ export default function AppDetailIndexPage() {
)}
</div>
</div>

<div>
<IconPicker
label="Upload Icon* (256x256)"
ar={{
w: 1,
h: 1,
}}
minW={256}
minH={256}
maxSize={1048576}
id="icon"
errorMessage={errors?.['icon']}
invalid={
errors !== undefined &&
errors.hasOwnProperty('icon') &&
(errors['icon'] as string).length > 0
}
setIsFormChanged={
setIsFormChanged as (val: boolean) => void
}
setIsImgUploading={
setIsImgUploading as (val: boolean) => void
}
url={appDetails.app.icon}
/>
</div>
</div>
</Panel>

Expand Down

0 comments on commit 763bf25

Please sign in to comment.