/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import type { CommonProps } from '@/server/web/views/_.js';
import { Layout } from '@/server/web/views/base.js';
export function OAuthPage(props: CommonProps<{
transactionId: string;
clientName: string;
clientLogo?: string;
scope: string[];
}>) {
//- Should be removed by the page when it loads, so that it won't needlessly
//- stay when user navigates away via the navigation bar
//- XXX: Remove navigation bar in auth page?
function metaBlock() {
return (
<>
{props.clientLogo ? : null}
>
);
}
return (
);
}