diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c335b220..8eeba7004 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: stages: [pre-push] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + rev: v3.1.0 hooks: - id: prettier args: ["--ignore-path", "../.gitignore", "--write"] @@ -53,7 +53,7 @@ repos: stages: [pre-commit] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.0.0-alpha.2 + rev: v8.54.0 hooks: - id: eslint args: ["--fix"] @@ -61,7 +61,7 @@ repos: stages: [pre-commit] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.38.0 + rev: v0.37.0 hooks: - id: markdownlint files: '.*\.md$' diff --git a/client/src/route/auth/AccountTabs.tsx b/client/src/route/auth/AccountTabs.tsx index 20169125c..f3f61686f 100644 --- a/client/src/route/auth/AccountTabs.tsx +++ b/client/src/route/auth/AccountTabs.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; -import TabComponent from "components/tab/TabComponent"; -import { TabData } from "components/tab/subcomponents/TabRender"; -import { useAuth } from "react-oidc-context"; +import * as React from 'react'; +import TabComponent from 'components/tab/TabComponent'; +import { TabData } from 'components/tab/subcomponents/TabRender'; +import { useAuth } from 'react-oidc-context'; const scope: TabData[][] = []; @@ -12,29 +12,29 @@ function AccountTabs() { if (groups.length === 0) { const accountTab: TabData[] = [ { - label: "Profile", + label: 'Profile', body: ( <> Profile - potentially visible to other users.

Username is {auth.user?.profile.preferred_username}

- See more details on{" "} + See more details on{' '} SSO OAuth provider. ), }, { - label: "Settings", + label: 'Settings', body: ( <> Account settings - private to a user.

- Edit the profile on{" "} + Edit the profile on{' '} SSO OAuth provider ), @@ -45,31 +45,31 @@ function AccountTabs() { const accountTab: TabData[] = [ { - label: "Profile", + label: 'Profile', body: ( <> Profile - potentially visible to other users.

Username is {auth.user?.profile.preferred_username}

- See more details on{" "} + See more details on{' '} SSO OAuth provider. - {auth.user?.profile.preferred_username} belongs to {groups.join(" ,")} + {auth.user?.profile.preferred_username} belongs to {groups.join(' ,')} . ), }, { - label: "Settings", + label: 'Settings', body: ( <> Account settings - private to a user.

- Edit the profile on{" "} + Edit the profile on{' '} SSO OAuth provider ),