chore: fix typos
This commit is contained in:
parent
9bb2f951b3
commit
8453a6ae85
3 changed files with 4 additions and 4 deletions
|
|
@ -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 =
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ const MachineActions = memo(({ machine, onActionSuccess }) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
onDissmised={() => {
|
onDismissed={() => {
|
||||||
setAction({ command: null })
|
setAction({ command: null })
|
||||||
setErrorMessage(null)
|
setErrorMessage(null)
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
onDissmised={() => {
|
onDismissed={() => {
|
||||||
setAction({ command: null })
|
setAction({ command: null })
|
||||||
setErrorMessage(null)
|
setErrorMessage(null)
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue