mirror of
https://github.com/supabase/supabase.git
synced 2026-06-22 21:16:29 +08:00
* add a new component for input * add textArea * some colors * rename * Update page.tsx * move files * Update ChatInput.tsx * Update Header.tsx * chore:upgrade next14 * Update package-lock.json * update graphql * add graphql dep * Update package.json * Update package-lock.json * added server action in * more actions * getting actions in everywhere * Update ConfirmDeleteThreadModal.tsx * Update Input.tsx * update modal action * Bump nextjs in database-new to v14. * fix build * trying server hooks * more experiemntal stuff * update delete * shimmering * update thread UI * Update actions.ts * Update actions.ts * Update Thread.tsx * Update Input.tsx * updated * delete thread updated * fix build * Update package-lock.json * Update edit thread modal * fixing build * reset * Update package-lock.json * Update SpreadsheetImport.utils.ts * reset * Update package-lock.json * Update sitemap_www.xml * pacakge update * change to node 18 * Fix deleting threads --------- Co-authored-by: Terry Sutton <saltcod@gmail.com>
15 lines
430 B
TypeScript
15 lines
430 B
TypeScript
import 'react-dom'
|
|
|
|
declare module 'react-dom' {
|
|
function useFormState<State>(
|
|
action: (state: State) => Promise<State>,
|
|
initialState: State,
|
|
permalink?: string
|
|
): [state: State, dispatch: () => void]
|
|
function useFormState<State, Payload>(
|
|
action: (state: State, payload: Payload) => Promise<State>,
|
|
initialState: State,
|
|
permalink?: string
|
|
): [state: State, dispatch: (payload: Payload) => void]
|
|
}
|