Skip to content

Commit

Permalink
Remove dashboard settings entry point until we have a place to redire…
Browse files Browse the repository at this point in the history
…ct (#6529)
  • Loading branch information
acelaya committed Aug 7, 2024
1 parent 3026f66 commit 0a7da6a
Showing 1 changed file with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {
Link,
LogoIcon,
ProfileIcon,
SettingsIcon,
} from '@hypothesis/frontend-shared';
import { LogoIcon, ProfileIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames';
import { Link as RouterLink, Route, Switch } from 'wouter-preact';

Expand Down Expand Up @@ -38,26 +33,6 @@ export default function DashboardApp() {
<ProfileIcon />
{dashboard.user.display_name}
</span>
<Link
underline="hover"
variant="text"
href="/email/preferences"
target="_blank"
classes={classnames(
'flex gap-2 items-center',
'font-semibold text-color-text-light',
)}
onClick={
/* istanbul ignore next - Temporary until settings link works */
e => {
e.preventDefault();
alert('This is not implemented yet');
}
}
>
<SettingsIcon />
Settings
</Link>
</div>
</div>
</div>
Expand Down

0 comments on commit 0a7da6a

Please sign in to comment.