refactor: remove unused component templates

This commit is contained in:
Prad Nukala
2024-10-07 10:39:50 -04:00
parent c35d3bb1ae
commit 37fb0b3aca
28 changed files with 156 additions and 313 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ func New() *Server {
s.GET("/", router.Home)
s.GET("/login", router.Login)
s.GET("/register", router.Register)
s.GET("/profile", router.Profile)
s.GET("/authorize", router.Authorize)
// s.GET("/profile", router.Profile)
// s.GET("/authorize", router.Authorize)
return s
}
-2
View File
@@ -9,14 +9,12 @@ import (
"github.com/onsonr/sonr/app"
"github.com/onsonr/sonr/app/cli"
"github.com/onsonr/sonr/app/proxy"
)
func main() {
rootCmd := NewRootCmd()
rootCmd.AddCommand(cli.NewBuildTxnTUICmd())
rootCmd.AddCommand(cli.NewExplorerTUICmd())
rootCmd.AddCommand(proxy.NewProxyCmd())
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
log.NewLogger(rootCmd.OutOrStderr()).Error("failure when running app", "err", err)