Switch from TTF to WOFF to fix OG image size issue

This commit is contained in:
Steven Tey 2023-06-17 15:07:35 -05:00
parent 51e3f5acc1
commit 2c7dc8e5f9
6 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,6 @@ import {
import { useState } from 'react'
import { Button } from './ui/button'
import { Input } from './ui/input'
import { useRouter } from 'next/navigation'
const IS_PREVIEW = process.env.VERCEL_ENV === 'preview'
export interface ChatProps extends React.ComponentProps<'div'> {
@ -28,7 +27,6 @@ export interface ChatProps extends React.ComponentProps<'div'> {
}
export function Chat({ id, initialMessages, className }: ChatProps) {
const router = useRouter()
const [previewToken, setPreviewToken] = useLocalStorage<string | null>(
'ai-token',
null