1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Adopt eslint-config-matrix-org & bump deps

This commit is contained in:
Quentin Gliech
2023-06-13 18:43:06 +02:00
parent b493f62251
commit 3672d2dbde
27 changed files with 2978 additions and 2580 deletions

View File

@@ -126,7 +126,7 @@ const InnerRouter: React.FC = () => {
}
};
const Router = () => (
const Router: React.FC = () => (
<Layout>
<Suspense fallback={<LoadingSpinner />}>
<InnerRouter />
@@ -149,7 +149,7 @@ export const Link: React.FC<
return (
<a
href={path}
onClick={(e: React.MouseEvent) => {
onClick={(e: React.MouseEvent): void => {
// Local links should be handled by the internal routers
// external links do not require a transition
if (!path.startsWith("http")) {