diff --git a/assets/js/nativeShareHook.js b/assets/js/nativeShareHook.js index ebdfca6..e944655 100644 --- a/assets/js/nativeShareHook.js +++ b/assets/js/nativeShareHook.js @@ -11,7 +11,6 @@ const NativeShare = () => { } try { - // Share the file await navigator.share({ title: this.el.dataset.title, text: this.el.dataset.text, diff --git a/lib/intisync_web/live/hub_live.ex b/lib/intisync_web/live/hub_live.ex index 06cb9fb..1036ea2 100644 --- a/lib/intisync_web/live/hub_live.ex +++ b/lib/intisync_web/live/hub_live.ex @@ -104,10 +104,6 @@ defmodule IntisyncWeb.HubLive do {:noreply, put_flash(socket, :info, "Session shared! :)")} end - def handle_event("url_copied", %{}, socket) do - {:noreply, put_flash(socket, :info, "Url copied! :)")} - end - def handle_event("url_share_error", %{"error" => error}, socket) do {:noreply, put_flash(socket, :error, "Failed to share session. #{error}")} end