import { useState } from 'react'
import { useApi } from './hooks/useApi'
import { ChatGPTLayout } from './components/ChatGPTLayout'

function App() {
  const api = useApi()
  return <ChatGPTLayout api={api} />
}

export default App
