Skip to content

Commit

Permalink
fix: logo doesn't get loaded correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Jul 31, 2023
1 parent a47d080 commit 9ba2b4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "node .next/standalone/server.js",
"start": "next start",
"lint": "next lint",
"format": "prettier --end-of-line=auto --write \"src/**/*.ts*\""
},
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import { Tb2Fa } from "react-icons/tb";
import { FormattedMessage } from "react-intl";
import * as yup from "yup";
import Meta from "../../components/Meta";
import LanguagePicker from "../../components/account/LanguagePicker";
import ThemeSwitcher from "../../components/account/ThemeSwitcher";
import showEnableTotpModal from "../../components/account/showEnableTotpModal";
import useTranslate from "../../hooks/useTranslate.hook";
import useUser from "../../hooks/user.hook";
import authService from "../../services/auth.service";
import userService from "../../services/user.service";
import toast from "../../utils/toast.util";
import LanguagePicker from "../../components/account/LanguagePicker";

const Account = () => {
const { user, refreshUser } = useUser();
Expand Down Expand Up @@ -181,7 +181,7 @@ const Account = () => {
</Tabs.List>

<Tabs.Panel value="totp" pt="xs">
{user!.totpVerified ? (
{user?.totpVerified ? (
<>
<form
onSubmit={disableTotpForm.onSubmit((values) => {
Expand Down

0 comments on commit 9ba2b4c

Please sign in to comment.