From f0475c22178e28172a012e726391f900f36fd30f Mon Sep 17 00:00:00 2001 From: Correl Date: Mon, 9 Jan 2023 15:04:51 -0500 Subject: [PATCH] Remove unused Home route --- www/src/Route.elm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/www/src/Route.elm b/www/src/Route.elm index 922fb3c..42d7e3a 100644 --- a/www/src/Route.elm +++ b/www/src/Route.elm @@ -6,15 +6,14 @@ import Url.Parser exposing (Parser, map, oneOf, parse, s, top) type Route - = Home - | Collection + = Collection | DeckList parser : Parser (Route -> a) a parser = oneOf - [ map Home top + [ map Collection top , map Collection (s "collection") , map DeckList (s "decks") ] @@ -23,8 +22,6 @@ parser = toUrl : Route -> String toUrl route = case route of - Home -> - Url.Builder.absolute [] [] Collection -> Url.Builder.absolute [ "collection" ] []