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

This commit is contained in:
Prad Nukala
2024-12-10 13:33:01 -05:00
parent e38a045de3
commit 518109e9df
10 changed files with 2 additions and 846 deletions
+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)
}