summaryrefslogtreecommitdiff
path: root/src/components/user_account_button.tsx
blob: 2274811d3bf858a840abec1c03d8e448d346fe63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { PersonCircle } from "react-bootstrap-icons";
import UserDropdownButton from "./user_dropdown_button";
import LoginButton from "./login_button";

export default function UserAccountButton({ token }) {
  if(token.present()) {
    return (
      <UserDropdownButton/>
    );
  }

  return (
    <LoginButton/>
  );
}