Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Sep 20, 2024
1 parent 9c02b6f commit 7b84f3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hub/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ window.isBattery = false;
window.fps = false;

window.selection = new SelectionImpl();
window.sidebar = new Sidebar(() =>
historicalSources.map(entry => {
let components = entry.path.split(window.platform === "win32" ? "\\" : "/");
window.sidebar = new Sidebar(() =>
historicalSources.map((entry) => {
let components = entry.path.split(window.platform === "win32" ? "\\" : "/");
return components[components.length - 1];
})
);
Expand Down

0 comments on commit 7b84f3a

Please sign in to comment.