diff --git a/js/src/forum/components/LinkStatus.tsx b/js/src/forum/components/LinkStatus.tsx index e67891f..f787f69 100644 --- a/js/src/forum/components/LinkStatus.tsx +++ b/js/src/forum/components/LinkStatus.tsx @@ -2,6 +2,7 @@ import app from 'flarum/forum/app'; import Component, { ComponentAttrs } from 'flarum/common/Component'; import icon from 'flarum/common/helpers/icon'; import Button from 'flarum/common/components/Button'; +import Link from 'flarum/common/components/Link'; import type Mithril from 'mithril'; import LinkedAccount from '../models/LinkedAccount'; import User from 'flarum/common/models/User'; @@ -73,16 +74,17 @@ export default class LinkStatus extends Component { } else if (!provider.orphaned() && (user.id() === app.session.user?.id() || !app.forum.attribute('fofOauthModerate'))) { return (
- +
); }