This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Products page | |
import { Suspense } from 'react'; | |
import { cookies } from 'next/headers'; | |
import { redirect } from 'next/navigation'; | |
import { | |
dehydrate, | |
HydrationBoundary, | |
QueryClient, | |
} from '@tanstack/react-query'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client'; | |
import React from 'react'; | |
import { cn } from './utils'; | |
export type AutocompleteInputProps = | |
React.InputHTMLAttributes<HTMLInputElement> & { | |
suggestion: string; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install nodemailer | |
// install formik | |
import React from 'react'; | |
import { useFormik } from 'formik'; | |
const ContactForm = () => { | |
const formik = useFormik({ | |
initialValues: { | |
name: '', |