refactor: remove unused UI components related to wallet and index pages

This commit is contained in:
Prad Nukala committed 2024-12-10 13:33:01 -05:00
1 parent e38a045de3
commit 518109e9df
10 files changed
+2 -846

No files matched your search

+2 -4
View File
@@ -4,17 +4,15 @@ import (
"net/http"
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/internal/vault/pages/index"
session "github.com/onsonr/sonr/internal/vault/session"
"github.com/onsonr/sonr/pkg/common/response"
)
func HandleIndex(c echo.Context) error {
if isInitial(c) {
return response.TemplEcho(c, index.InitialView())
// return response.TemplEcho(c, index.InitialView())
}
if isExpired(c) {
return response.TemplEcho(c, index.ReturningView())
// return response.TemplEcho(c, index.ReturningView())
}
return c.Render(http.StatusOK, "index.templ", nil)
}