We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0476e8d + 7258447 commit ceecf86Copy full SHA for ceecf86
client/src/components/common/Card/detail/ShareButton.tsx
@@ -21,13 +21,13 @@ type ButtonType = {
21
shareKakao: () => void;
22
};
23
export default function ShareButton({ post }: { post: Post }) {
24
- const postUrl = `https://denamu.site//${post.id}`;
+ const postUrl = `https://denamu.site/${post.id}`;
25
const { toast } = useCustomToast();
26
const isMobile = useMediaStore((state) => state.isMobile);
27
28
const handleCopy = async () => {
29
try {
30
- await navigator.clipboard.writeText(`https://denamu.site//${post.id}`);
+ await navigator.clipboard.writeText(`https://denamu.site/${post.id}`);
31
toast(TOAST_MESSAGES.COPY_COMPLETE);
32
} catch (error) {
33
console.error(error);
0 commit comments