Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fixed a few typos

Steven Teye1ac92007488
diff --git a/app/dub.sh/metatags/content.tsx b/app/dub.sh/metatags/content.tsx
index 48b884df15..1889230f46 100644
--- a/app/dub.sh/metatags/content.tsx
+++ b/app/dub.sh/metatags/content.tsx
@@ -6,6 +6,7 @@ import useSWR from "swr";
import { Copy, Photo, Tick } from "@/components/shared/icons";
import { LoadingCircle } from "#/ui/icons";
import { fetcher, getDomainWithoutWWW, getUrlFromString } from "@/lib/utils";
+import { toast } from "sonner";
export default function MetatagsContent() {
const [url, setUrl] = useState("https://github.com/steven-tey/dub");
@@ -91,6 +92,7 @@ export default function MetatagsContent() {
`https://api.dub.sh/metatags?url=${getUrlFromString(url)}`,
);
setCopied(true);
+ toast.success("Copied URL to clipboard!");
setTimeout(() => {
setCopied(false);
}, 2000);
diff --git a/app/ui/stats/feedback.tsx b/app/ui/stats/feedback.tsx
index e5d8cb0fcb..edd5c97d2f 100644
--- a/app/ui/stats/feedback.tsx
+++ b/app/ui/stats/feedback.tsx
@@ -23,7 +23,7 @@ export default function Feedback() {
.then((res) => res.json())
.then(() => {
setState("submitted");
- toast.success("Succesfully submitted feedback!");
+ toast.success("Successfully submitted feedback!");
});
};
diff --git a/components/stats/feedback.tsx b/components/stats/feedback.tsx
index 7302faed52..824e805597 100644
--- a/components/stats/feedback.tsx
+++ b/components/stats/feedback.tsx
@@ -25,7 +25,7 @@ export default function Feedback() {
.then((res) => res.json())
.then(() => {
setState("submitted");
- toast.success("Succesfully submitted feedback!");
+ toast.success("Successfully submitted feedback!");
});
};