use interactive-widget=resizes-content in login and register

This commit is contained in:
sk1982 2024-03-12 20:28:49 -04:00
parent 25edc61cad
commit e4364cc39c
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,11 @@
import { LayoutProps } from '@/types/layout';
import { Viewport } from 'next';
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
interactiveWidget: 'resizes-content'
};
export default function CenteredLayout({ children }: LayoutProps) {
return <div className="flex flex-col items-center justify-center h-full">

View File

@ -24,7 +24,6 @@ export const RegisterCard = ({ callback }: RegisterCardProps) => {
const submit = (data: FormData) => {
setLoading(true);
setError('');
console.log(data);
register(data)
.then(({ error, message }) => {
if (!error)