„lib/chiya_web/components/core_components.ex“ ändern

This commit is contained in:
inhji 2023-03-15 16:04:51 +01:00
parent 36031469f3
commit 11cbe215c2

View file

@ -9,10 +9,15 @@ defmodule ChiyaWeb.CoreComponents do
Icons are provided by [heroicons](https://heroicons.com). See `icon/1` for usage. Icons are provided by [heroicons](https://heroicons.com). See `icon/1` for usage.
""" """
use Phoenix.Component use Phoenix.Component
use Phoenix.VerifiedRoutes,
endpoint: ChiyaWeb.Endpoint,
router: ChiyaWeb.Router,
statics: ChiyaWeb.static_paths()
alias Phoenix.LiveView.JS alias Phoenix.LiveView.JS
import ChiyaWeb.Gettext import ChiyaWeb.Gettext
@doc """ @doc """
Renders a horizontal line Renders a horizontal line
""" """