import { Card, CardContent } from '@components/common/ui/Card.js'; import { CustomerRegistrationForm } from '@components/frontStore/customer/RegistrationForm.js'; import { _ } from '@evershop/evershop/lib/locale/translate/_'; import React from 'react'; import { toast } from 'react-toastify'; interface RegisterPageProps { homeUrl: string; loginUrl: string; } export default function RegisterPage({ homeUrl, loginUrl }: RegisterPageProps) { return (
{ toast.error(error); }} className="w-full" />
{_('Already have an account?')} {' '} {_('Login')}{' '}
); } export const layout = { areaId: 'content', sortOrder: 10 }; export const query = ` query Query { homeUrl: url(routeId: "homepage") loginUrl: url(routeId: "login") } `;