Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Mar 5, 2024
1 parent a0340ee commit 3173808
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/contexts/Api/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const ApiProvider = ({ children }: { children: ReactNode }) => {

// Initialisation of Api instances.
useEffect(() => {
console.log('initialise tab instances');
tabs.forEach((tab) => {
if (tab?.chain && tab.autoConnect) {
const { id, provider } = tab.chain;
Expand Down
1 change: 1 addition & 0 deletions src/screens/Default/Connect/ChainListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const ChainListItem = ({ chain, name }: ChainListItemProps) => {

// Handle tag provider select. Connect to chain on successful selection.
const handleOnProviderSelect = (providerUrl: string) => {
// TODO: update tab data and connect to Api instance.
console.log(providerUrl);
};

Expand Down
2 changes: 1 addition & 1 deletion src/screens/Default/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const ChainMenu = () => {
onClick={() => setActiveSection(0)}
className={activeSection === 0 ? 'active' : undefined}
>
Connect Chain
{!apiStatus ? 'Connect Chain' : 'Overview'}
</button>
</section>
<section className="other">{/* Additional links right side */}</section>
Expand Down

0 comments on commit 3173808

Please sign in to comment.