add store to localStorage

This commit is contained in:
2024-06-12 14:47:07 +07:00
parent 17c70e13fc
commit 2fd1a19c7e
5 changed files with 348 additions and 11 deletions

View File

@@ -32,9 +32,3 @@ func View(c echo.Context, cmp templ.Component) error {
return cmp.Render(c.Request().Context(), c.Response().Writer)
}
func Redirect(c echo.Context, url string) error {
c.Response().Header().Set("HX-Redirect", url)
return c.String(http.StatusOK, url)
}