Skip to content

Commit

Permalink
fix: not needed div
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocasares committed Oct 8, 2024
1 parent f580dbb commit 0da4bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<!doctype html>
<html lang="en" class="h-full min-h-full">
<head>
<title>Ollamix</title>
<title>forkaround</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/src/styles.css" />
<script type="module" src="/src/main.ts"></script>
</head>
<body class="h-full min-h-full antialiased">
<div id="app"></div>
</body>
<body class="h-full min-h-full antialiased"></body>
</html>
2 changes: 1 addition & 1 deletion src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ mainMenu model =
[ li [ class "grow text-xl hidden sm:block lg:mb-2" ]
[ h1 []
[ a [ class "font-mono", href (Route.href Route.ChatRoute) ]
[ text "ollamix"
[ text "forkaround"
]
]
]
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const {
interopToElm: {send},
interopFromElm: {subscribe},
},
} = Elm.Main.init({flags: null, node: document.getElementById('#app')})
} = Elm.Main.init({flags: null})

subscribe(async msg =>
match(msg)
Expand Down

0 comments on commit 0da4bba

Please sign in to comment.