fix: typo in "twitter link" and "invite to hoppscotch" action (#3346)

This commit is contained in:
Liyas Thomas
2023-09-13 11:55:58 +05:30
committed by GitHub
parent d2d1674d31
commit 72b4a1fc4e
2 changed files with 7 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ export const twitter: HoppSupportOptionsMenuItem = {
icon: IconTwitter,
action: {
type: "link",
href: "https://hoppscotch.io/discord",
href: "https://hoppscotch.io/twitter",
},
}
@@ -84,17 +84,7 @@ export const invite: HoppSupportOptionsMenuItem = {
action: {
type: "custom",
do() {
if (navigator.share) {
navigator
.share({
title: "Hoppscotch",
text: "Hoppscotch • Open source API development ecosystem - Helps you create requests faster, saving precious time on development.",
url: "https://hoppscotch.io",
})
.catch(console.error)
} else {
// fallback
}
invokeAction("modals.share.toggle")
},
},
}