mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Manually manage full-text search table
This commit is contained in:
@@ -54,12 +54,12 @@ export const ConfirmationDialog = React.memo(
|
||||
|
||||
const handleAction = React.useCallback(
|
||||
(e: React.MouseEvent<HTMLButtonElement>) => {
|
||||
onClose();
|
||||
if (e.currentTarget.dataset.action) {
|
||||
const actionIndex = parseInt(e.currentTarget.dataset.action, 10);
|
||||
const { action } = actions[actionIndex];
|
||||
action();
|
||||
}
|
||||
onClose();
|
||||
},
|
||||
[onClose, actions]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user