Add default props to confirm dialogue to silence warnings

This commit is contained in:
Andrew Kingston 2020-10-02 21:06:06 +01:00
parent cf9d261192
commit 735e0e5f02
1 changed files with 5 additions and 5 deletions

View File

@ -2,11 +2,11 @@
import { Modal, ModalTitle, ModalFooter } from "components/common/Modal" import { Modal, ModalTitle, ModalFooter } from "components/common/Modal"
export let title = "" export let title = ""
export let body export let body = ""
export let okText export let okText = "Confirm"
export let cancelText export let cancelText = "Cancel"
export let onOk export let onOk = () => {}
export let onCancel export let onCancel = () => {}
let modal let modal