Skip to content

Commit

Permalink
fix: drop # to use .
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <[email protected]>
  • Loading branch information
ghivert committed May 21, 2024
1 parent 69a7075 commit fb3e18e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/frontend/src/frontend/view/body/cache.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn view_search_results(search_results: List(search_result.SearchResult)) {
t.dark_white(package_id),
t.dark_white("."),
t.keyword(item.module_name),
t.dark_white("#"),
t.dark_white("."),
t.fun(item.name),
],
),
Expand Down Expand Up @@ -91,14 +91,14 @@ fn sidebar(index: List(#(#(String, String), List(#(String, String))))) {
s.sidebar_package_wrapper([], [
s.sidebar_package_name([], [
h.text(package.0),
t.dark_white("#" <> package.1),
t.dark_white("@" <> package.1),
]),
..list.map(modules, fn(module) {
let #(module, name) = module
let id = package.0 <> "@" <> package.1 <> "-" <> module <> "-" <> name
s.sidebar_module_name([e.on_click(msg.ScrollTo(id))], [
t.keyword(module),
h.text("#"),
h.text("."),
t.fun(name),
])
})
Expand Down

0 comments on commit fb3e18e

Please sign in to comment.