Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jscriptcoder committed Mar 21, 2023
1 parent 06444c0 commit d2a7069
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/bridge-ui/src/pages/home/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
// TODO: think about a more general approach here.
// We're assuming we have two tabs. The base location
// corresponde with `bridge` tab => /, otherwise we're
// opening the second tab `transactions`. What if we add
// a new tab?
// corresponds with `bridge` tab => /, otherwise we're
// opening the second tab `transactions` => /transactions.
// What if we add a new tab?. Also, routes are coupled to
// tab's name We might want to have this configuration
// somwhere.
$: activeTab = $location === '/' ? 'bridge' : 'transactions';
// TODO: do we really need all these tricks to style containers
Expand Down

0 comments on commit d2a7069

Please sign in to comment.