chore: fix typos

This commit is contained in:
André Sá 2021-10-26 14:44:24 +01:00
parent 9bb2f951b3
commit 8453a6ae85
3 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,7 @@ export const ConfirmDialog = memo(
message, message,
confirmationMessage = `Write '${toBeConfirmed}' to confirm this action`, confirmationMessage = `Write '${toBeConfirmed}' to confirm this action`,
onConfirmed, onConfirmed,
onDissmised, onDismissed,
initialValue = '', initialValue = '',
disabled = false, disabled = false,
...props ...props
@ -76,7 +76,7 @@ export const ConfirmDialog = memo(
const innerOnClose = () => { const innerOnClose = () => {
setValue('') setValue('')
setError(false) setError(false)
onDissmised() onDismissed()
} }
const isOnErrorState = const isOnErrorState =

View file

@ -207,7 +207,7 @@ const MachineActions = memo(({ machine, onActionSuccess }) => {
} }
}) })
}} }}
onDissmised={() => { onDismissed={() => {
setAction({ command: null }) setAction({ command: null })
setErrorMessage(null) setErrorMessage(null)
}} }}

View file

@ -329,7 +329,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
} }
}) })
}} }}
onDissmised={() => { onDismissed={() => {
setAction({ command: null }) setAction({ command: null })
setErrorMessage(null) setErrorMessage(null)
}} }}