mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Refactor brewery post form, remove map
This commit is contained in:
@@ -20,13 +20,13 @@ import {
|
|||||||
} from 'react-hook-form';
|
} from 'react-hook-form';
|
||||||
import toast from 'react-hot-toast';
|
import toast from 'react-hot-toast';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
import FormError from './ui/forms/FormError';
|
import FormError from '../ui/forms/FormError';
|
||||||
import FormInfo from './ui/forms/FormInfo';
|
import FormInfo from '../ui/forms/FormInfo';
|
||||||
import FormLabel from './ui/forms/FormLabel';
|
import FormLabel from '../ui/forms/FormLabel';
|
||||||
import FormSegment from './ui/forms/FormSegment';
|
import FormSegment from '../ui/forms/FormSegment';
|
||||||
import FormTextArea from './ui/forms/FormTextArea';
|
import FormTextArea from '../ui/forms/FormTextArea';
|
||||||
import FormTextInput from './ui/forms/FormTextInput';
|
import FormTextInput from '../ui/forms/FormTextInput';
|
||||||
import Button from './ui/forms/Button';
|
import Button from '../ui/forms/Button';
|
||||||
|
|
||||||
const AddressAutofill = dynamic(
|
const AddressAutofill = dynamic(
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
@@ -4,7 +4,7 @@ import { GetServerSideProps, NextPage } from 'next';
|
|||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|
||||||
import { FaBeer } from 'react-icons/fa';
|
import { FaBeer } from 'react-icons/fa';
|
||||||
import CreateBreweryPostForm from '@/components/CreateBreweryPostForm';
|
import CreateBreweryPostForm from '@/components/BreweryPost/CreateBreweryPostForm';
|
||||||
|
|
||||||
const CreateBreweryPage: NextPage = () => {
|
const CreateBreweryPage: NextPage = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user