mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Refactor: e -> event or error, err -> error, p -> pointer (#831)
* Refactor: e -> event or error, err -> error, p -> pointer * simplify
This commit is contained in:
parent
d2827aa40b
commit
097c5dfad7
14 changed files with 190 additions and 185 deletions
|
@ -91,7 +91,7 @@ export const actionSendBackward: Action = {
|
|||
<button
|
||||
type="button"
|
||||
className="zIndexButton"
|
||||
onClick={e => updateData(null)}
|
||||
onClick={event => updateData(null)}
|
||||
title={t("labels.sendBackward")}
|
||||
>
|
||||
{ICONS.sendBackward}
|
||||
|
@ -115,7 +115,7 @@ export const actionBringForward: Action = {
|
|||
<button
|
||||
type="button"
|
||||
className="zIndexButton"
|
||||
onClick={e => updateData(null)}
|
||||
onClick={event => updateData(null)}
|
||||
title={t("labels.bringForward")}
|
||||
>
|
||||
{ICONS.bringForward}
|
||||
|
@ -138,7 +138,7 @@ export const actionSendToBack: Action = {
|
|||
<button
|
||||
type="button"
|
||||
className="zIndexButton"
|
||||
onClick={e => updateData(null)}
|
||||
onClick={event => updateData(null)}
|
||||
title={t("labels.sendToBack")}
|
||||
>
|
||||
{ICONS.sendToBack}
|
||||
|
@ -161,7 +161,7 @@ export const actionBringToFront: Action = {
|
|||
<button
|
||||
type="button"
|
||||
className="zIndexButton"
|
||||
onClick={e => updateData(null)}
|
||||
onClick={event => updateData(null)}
|
||||
title={t("labels.bringToFront")}
|
||||
>
|
||||
{ICONS.bringToFront}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue