Allow Account sheet on welcome page

This commit is contained in:
Lim Chee Aun 2023-02-06 19:55:04 +08:00
parent 43c4fc6534
commit 7e5c3f1bac

View file

@ -2,6 +2,7 @@ import './welcome.css';
import logo from '../assets/logo.svg'; import logo from '../assets/logo.svg';
import Link from '../components/link'; import Link from '../components/link';
import states from '../utils/states';
import useTitle from '../utils/useTitle'; import useTitle from '../utils/useTitle';
function Welcome() { function Welcome() {
@ -41,7 +42,14 @@ function Welcome() {
Built Built
</a>{' '} </a>{' '}
by{' '} by{' '}
<a href="https://mastodon.social/@cheeaun" target="_blank"> <a
href="https://mastodon.social/@cheeaun"
target="_blank"
onClick={(e) => {
e.preventDefault();
states.showAccount = 'cheeaun@mastodon.social';
}}
>
@cheeaun @cheeaun
</a> </a>
.{' '} .{' '}