forked from sk1982/actaeon
use interactive-widget=resizes-content in login and register
This commit is contained in:
parent
25edc61cad
commit
e4364cc39c
@ -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">
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user