i am using .modal element in pheonix live view the code was running fine but suddenly
(FunctionClauseError) no function clause matching in ZomatoWeb.PageControllerLive.handle_event/3
(zomato 0.1.0) lib/zomato_web/controllers/page_controller.ex:51: ZomatoWeb.PageControllerLive.handle_event("[[\"show\",{\"to\":\"#login_page\"}],[\"show\",{\"time\":300,\"to\":\"#login_page-bg\",\"transition\":[[\"transition-all\",\"transform\",\"ease-out\",\"duration-300\"],[\"opacity-0\"],[\"opacity-100\"]]}],[\"show\",{\"time\":300,\"to\":\"#login_page-container\",\"transition\":[[\"transition-all\",\"transform\",\"ease-out\",\"duration-300\"],[\"opacity-0\",\"translate-y-4\",\"sm:translate-y-0\",\"sm:scale-95\"],[\"opacity-100\",\"translate-y-0\",\"sm:scale-100\"]]}],[\"add_class\",{\"names\":[\"overflow-hidden\"],\"to\":\"body\"}],[\"focus_first\",{\"to\":\"#login_page-content\"}]]", %{}, #Phoenix.LiveView.Socket<id: "phx-GAGfY8Z3h9KXxwDj", endpoint: ZomatoWeb.Endpoint, view: ZomatoWeb.PageControllerLive, parent_pid: nil, root_pid: #PID<0.979.0>, router: ZomatoWeb.Router, assigns: %{form: nil, __changed__: %{}, flash: %{}, live_action: :show, current_user: nil, search_results: nil, best_restaurants: [], best_item: [], leader_board: [], trigger_submit: false, check_errors: false}, transport_pid: #PID<0.966.0>, ...>)
(phoenix_live_view 1.0.0-rc.6) lib/phoenix_live_view/channel.ex:508: anonymous fn/3 in Phoenix.LiveView.Channel.view_handle_event/3
(telemetry 1.3.0) /home/newar/Desktop/Phoenix/zomato/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
(phoenix_live_view 1.0.0-rc.6) lib/phoenix_live_view/channel.ex:260: Phoenix.LiveView.Channel.handle_info/2
(stdlib 5.2.3.2) gen_server.erl:1095: :gen_server.try_handle_info/3
(stdlib 5.2.3.2) gen_server.erl:1183: :gen_server.handle_msg/6
(stdlib 5.2.3.2) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: %Phoenix.Socket.Message{topic: "lv:phx-GAGfY8Z3h9KXxwDj", event: "event", payload: %{"event" => "[[\"show\",{\"to\":\"#login_page\"}],[\"show\",{\"time\":300,\"to\":\"#login_page-bg\",\"transition\":[[\"transition-all\",\"transform\",\"ease-out\",\"duration-300\"],[\"opacity-0\"],[\"opacity-100\"]]}],[\"show\",{\"time\":300,\"to\":\"#login_page-container\",\"transition\":[[\"transition-all\",\"transform\",\"ease-out\",\"duration-300\"],[\"opacity-0\",\"translate-y-4\",\"sm:translate-y-0\",\"sm:scale-95\"],[\"opacity-100\",\"translate-y-0\",\"sm:scale-100\"]]}],[\"add_class\",{\"names\":[\"overflow-hidden\"],\"to\":\"body\"}],[\"focus_first\",{\"to\":\"#login_page-content\"}]]", "type" => "click", "value" => %{}}, ref: "5", join_ref: "4"}
State: %{socket: #Phoenix.LiveView.Socket<id: "phx-GAGfY8Z3h9KXxwDj", endpoint: ZomatoWeb.Endpoint, view: ZomatoWeb.PageControllerLive, parent_pid: nil, root_pid: #PID<0.979.0>, router: ZomatoWeb.Router
<div class="nav-item">
<.link phx-click={show_modal("login_page")}>Log in</.link>
</div>
<div class="nav-item">
<.link phx-click={show_modal("register_page")}>Register</.link>
</div>
why i m getting this error when i click the Login/register button
means i not able to use the show_moda() func .