Fixed linting issues

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
Hynek Mlnarik 2024-07-15 09:31:32 +02:00 committed by Hynek Mlnařík
parent d76a195cba
commit 25b198ed51

View file

@ -12,8 +12,8 @@ export const SignedJWT = ({ clientAuthenticatorType }: SignedJWTProps) => {
const { cryptoInfo } = useServerInfo(); const { cryptoInfo } = useServerInfo();
const providers = const providers =
clientAuthenticatorType === "client-jwt" clientAuthenticatorType === "client-jwt"
? cryptoInfo?.clientSignatureAsymmetricAlgorithms ?? [] ? (cryptoInfo?.clientSignatureAsymmetricAlgorithms ?? [])
: cryptoInfo?.clientSignatureSymmetricAlgorithms ?? []; : (cryptoInfo?.clientSignatureSymmetricAlgorithms ?? []);
const { t } = useTranslation(); const { t } = useTranslation();