Fixed multi-window model sync

This commit is contained in:
Gregory Schier
2023-04-09 22:32:47 -07:00
parent e85dd32005
commit 6bc1f9f494
2 changed files with 11 additions and 19 deletions

View File

@@ -24,6 +24,11 @@ export function RequestActionsDropdown({ requestId, children }: Props) {
dropdownRef.current?.toggle();
});
// TODO: Put this somewhere better
useTauriEvent('duplicate_request', () => {
duplicateRequest.mutate();
});
return (
<Dropdown
ref={dropdownRef}