mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Migrate components to eslint
This commit is contained in:
committed by
Josh Perez
parent
de66486e41
commit
b13dbcfa77
@@ -73,6 +73,7 @@ export const ConfirmationDialog = React.memo(
|
||||
{actions.length > 0 && (
|
||||
<div className="module-confirmation-dialog__container__buttons">
|
||||
<button
|
||||
type="button"
|
||||
onClick={handleCancel}
|
||||
ref={focusRef}
|
||||
className="module-confirmation-dialog__container__buttons__button"
|
||||
@@ -81,7 +82,8 @@ export const ConfirmationDialog = React.memo(
|
||||
</button>
|
||||
{actions.map((action, i) => (
|
||||
<button
|
||||
key={i}
|
||||
type="button"
|
||||
key={action.text}
|
||||
onClick={handleAction}
|
||||
data-action={i}
|
||||
className={classNames(
|
||||
|
||||
Reference in New Issue
Block a user