Skip to content

Commit

Permalink
remove usused themetoggler from auth forms
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Feb 5, 2024
1 parent 159969d commit 71aa3e0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/app/auth/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import AuthForm from '@/components/pages/auth/auth-form'
import AuthContent from '@/components/pages/auth-content'
import { Icons } from '@/components/ui/icons'
import ImageCard from '@/components/ui/image-card'
import { ThemeToggler } from '@/components/ui/theme-toggler'

export default function Auth() {
return (
Expand All @@ -14,9 +13,6 @@ export default function Auth() {
<article>
<header className="flex justify-between">
<h1 className="title-lg">Authentication</h1>
<div className="hidden md:block">
<ThemeToggler />
</div>
</header>
<AuthForm className="mt-8 md:mt-5" />
</article>
Expand Down
4 changes: 0 additions & 4 deletions src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import AuthContent from '@/components/pages/auth-content'
import FileInput from '@/components/pages/profile/file-input'
import ProfileForm from '@/components/pages/profile/profile-form'
import ImageCard from '@/components/ui/image-card'
import { ThemeToggler } from '@/components/ui/theme-toggler'

export default function Profile() {
return (
Expand All @@ -15,9 +14,6 @@ export default function Profile() {
<article className="flex justify-center md:block">
<header className="hidden justify-between mt-8 md:flex">
<h1 className="title-lg">Profile</h1>
<div className="hidden md:block">
<ThemeToggler />
</div>
</header>
<ProfileForm className="grow mt-9 md:mt-5" />
</article>
Expand Down
4 changes: 0 additions & 4 deletions src/app/verification/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import AuthContent from '@/components/pages/auth-content'
import OtpControl from '@/components/pages/verification/otp-control'
import { Icons } from '@/components/ui/icons'
import ImageCard from '@/components/ui/image-card'
import { ThemeToggler } from '@/components/ui/theme-toggler'

export default function Verification() {
return (
Expand All @@ -17,9 +16,6 @@ export default function Verification() {
<article>
<header className="flex justify-center items-center md:justify-between">
<h1 className="title-lg">Check your Email</h1>
<div className="hidden md:block">
<ThemeToggler />
</div>
</header>
<OtpControl />
</article>
Expand Down

0 comments on commit 71aa3e0

Please sign in to comment.