Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
root
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaaash committed Apr 22, 2021
1 parent 65e65f6 commit 6296ef3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions packages/lending/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import "./App.less";
import { Routes } from "./routes";
import React from 'react';
import './App.less';
import { Routes } from './routes';

function App() {
return <Routes />;
Expand Down
14 changes: 7 additions & 7 deletions packages/lending/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import "./wdyr";
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import * as serviceWorker from './serviceWorker';
import './wdyr';

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
document.getElementById('root'),
);

// If you want your app to work offline and load faster, you can change
Expand Down
15 changes: 8 additions & 7 deletions packages/lending/src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { HashRouter, Route, Switch } from 'react-router-dom';
import React from 'react';
import { contexts } from '@oyster/common';
import { MarketProvider } from './contexts/market';
import { LendingProvider } from './contexts/lending';
import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import { AppLayout } from './components/Layout';
import { LendingProvider } from './contexts/lending';
import { MarketProvider } from './contexts/market';

import {
BorrowReserveView,
Expand All @@ -13,14 +13,15 @@ import {
DepositView,
FaucetView,
HomeView,
LiquidateReserveView,
LiquidateView,
MarginTrading,
RepayReserveView,
ReserveView,
WithdrawView,
LiquidateView,
LiquidateReserveView,
MarginTrading,
} from './views';
import { NewPosition } from './views/margin/newPosition';

const { WalletProvider } = contexts.Wallet;
const { ConnectionProvider } = contexts.Connection;
const { AccountsProvider } = contexts.Accounts;
Expand Down

0 comments on commit 6296ef3

Please sign in to comment.