Skip to content

Commit 1a5a510

Browse files
chore(hooks): restore use-inline-rename onSave type accidentally swept into previous commit
1 parent bdf45a2 commit 1a5a510

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/hooks/use-inline-rename.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface UseInlineRenameProps {
99
* `mutateAsync(...)`) — NOT a fire-and-forget `mutate(...)` — so `isSaving`
1010
* spans the in-flight request and a rejection can revive the edit session.
1111
*/
12-
onSave: (id: string, newName: string) => undefined | Promise<unknown>
12+
onSave: (id: string, newName: string) => void | Promise<unknown>
1313
}
1414

1515
/**

0 commit comments

Comments
 (0)