some cleanup

This commit is contained in:
Victor Martinez 2024-03-30 01:46:02 +01:00
parent 41e1332cf1
commit 4a41b4eee3
2 changed files with 0 additions and 5 deletions

View file

@ -11,7 +11,6 @@ const NativeShare = () => {
}
try {
// Share the file
await navigator.share({
title: this.el.dataset.title,
text: this.el.dataset.text,

View file

@ -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