chore: cleanup

This commit is contained in:
nivedin
2023-12-06 14:34:34 +05:30
committed by Andrew Bastin
parent 4bd3e89f89
commit f2777a9a75
3 changed files with 1 additions and 5 deletions

View File

@@ -242,7 +242,6 @@ const emit = defineEmits<{
request: {
sharedRequestID: string | undefined
content: string | undefined
type: string | undefined
}
): void
(e: "hide-modal"): void
@@ -411,7 +410,6 @@ const copyContent = ({
const copyContent = {
sharedRequestID: props.request?.id,
content,
type: widget,
}
emit("copy-shared-request", copyContent)
}

View File

@@ -144,7 +144,6 @@ const emit = defineEmits<{
payload: {
sharedRequestID: string | undefined
content: string | undefined
type: string | undefined
}
): void
}>()
@@ -156,7 +155,6 @@ const createSharedRequest = () => {
const copySharedRequest = (payload: {
sharedRequestID: string | undefined
content: string | undefined
type: string | undefined
}) => {
emit("copy-shared-request", payload)
}

View File

@@ -297,6 +297,7 @@ const displayShareRequestModal = (show: boolean) => {
showShareRequestModal.value = show
step.value = 1
}
const displayCustomizeRequestModal = (
show: boolean,
embedProperties?: string | null
@@ -416,7 +417,6 @@ const customizeSharedRequest = (
const copySharedRequest = (payload: {
sharedRequestID: string | undefined
content: string | undefined
type: string | undefined
}) => {
if (payload.content) {
copyToClipboard(payload.content)