From 666f13d1c27868ec470804779f68baccadfb4055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Estev=C3=A3o?= Date: Thu, 30 May 2024 19:04:13 +0100 Subject: [PATCH] docs: fix put_toast/3 description about not exposing the UUID used --- lib/live_toast.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/live_toast.ex b/lib/live_toast.ex index 521367d..e700a40 100644 --- a/lib/live_toast.ex +++ b/lib/live_toast.ex @@ -85,7 +85,7 @@ defmodule LiveToast do Helper function around `send_toast/3` that is useful in pipelines. Can be used in a pipeline with either Plug.Conn or LiveView.Socket. - Unlike `send_toast/3`, this function does expose the UUID of the + Unlike `send_toast/3`, this function does not expose the UUID of the new toast, so if you need to update the toast after popping it onto the list, you should use `send_toast/3` directly.