Skip to content

Commit 2b80ef5

Browse files
committed
fix CommandMenu: typo func
1 parent ca5fd8f commit 2b80ef5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/cmd/CommandMenu.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ const rawQuickCommandsActions = [
385385
],
386386
387387
callback: () => {
388-
amp.track("copyFeeResult", { loc: "cmd" })
388+
amp.log("copyFeeResult", { loc: "cmd" })
389389
390390
window.navigator.clipboard.writeText(copyData.value)
391391
@@ -882,7 +882,7 @@ const debouncedSearch = useDebounceFn(async (e) => {
882882
883883
const filteredResults = data.value.filter((item) => !UNSUPPORTED_ENTITIES.includes(item.type))
884884
885-
amp.track("showAutocomplete", { count: filteredResults.length, firstType: filteredResults[0].type })
885+
amp.log("showAutocomplete", { count: filteredResults.length, firstType: filteredResults[0].type })
886886
887887
autocompleteActions.value = []
888888
let title
@@ -978,7 +978,7 @@ onMounted(() => {
978978
appStore.showCmd = !appStore.showCmd
979979
980980
if (appStore.showCmd) {
981-
amp.track("openCmd")
981+
amp.log("openCmd")
982982
}
983983
}
984984
})
@@ -1135,7 +1135,7 @@ const handleExecute = (action) => {
11351135
case "command:custom":
11361136
mode.value = "custom"
11371137
1138-
amp.track("openFeeCalculator")
1138+
amp.log("openFeeCalculator")
11391139
11401140
runText.value = target.runText
11411141

0 commit comments

Comments
 (0)