| 1 | "use client"; |
| 2 | |
| 3 | import { useRouter } from |
| 4 | |
| 5 | import { ImageSetting } |
| 6 | |
| 7 | export function OauthAppLogo({ |
| 8 | app, |
| 9 | }: { |
| 10 | app: { |
| 11 | }) { |
| 12 | const router = |
| 13 | |
| 14 | return ( |
| 15 | <ImageSetting |
| 16 | title="Logo" |
| 17 | hint="Shown to people when your app asks for access, so they recognise it. PNG or JPEG, square works best." |
| 18 | name={app.name |
| 19 | image={app.logoUrl |
| 20 | path={`/api/oauth-apps/${app |
| 21 | onChanged={() => |
| 22 | /> |
| 23 | ); |
| 24 | } |