Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jscriptcoder committed Mar 21, 2023
1 parent ecbd00d commit 5c41203
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/bridge-ui/src/pages/home/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
let bridgeWidth: number;
let bridgeHeight: number;
// Tab's name <=> route association
// List of tab's name <=> route association
const tabsRoute = [
{ name: 'bridge', href: '/' },
{ name: 'transactions', href: '/transactions' },
// Add more tabs if needed
];
// TODO: we're assuming we have only two tabs here.
// Change strategy if needed.
$: activeTab = $location === '/' ? tabsRoute[0].name : tabsRoute[1].name;
// TODO: do we really need all these tricks to style containers
Expand Down

0 comments on commit 5c41203

Please sign in to comment.