aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ScheduleTable.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ScheduleTable.astro')
-rw-r--r--src/components/ScheduleTable.astro11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/components/ScheduleTable.astro b/src/components/ScheduleTable.astro
index 7cbc751..b636171 100644
--- a/src/components/ScheduleTable.astro
+++ b/src/components/ScheduleTable.astro
@@ -61,7 +61,6 @@ const dateHtml = (html: string) =>
const KINDS: { kind: string; label: string }[] = [
{ kind: 'x', label: 'Xでシェア' },
- { kind: 'line', label: 'LINEで送る' },
{ kind: 'copy', label: '文面をコピー' },
];
@@ -126,16 +125,6 @@ const dateHtml = (html: string) =>
return;
}
- if (kind === 'line') {
- // LINEは文面とURLの両方を渡せる
- window.open(
- `https://social-plugins.line.me/lineit/share?text=${encodeURIComponent(text)}&url=${encodeURIComponent(url)}`,
- '_blank',
- 'noopener',
- );
- return;
- }
-
// コピー:Instagram・Facebookなど、文面を直接渡せないSNSにも貼れる
try {
await navigator.clipboard.writeText(`${text}\n${url}`);