This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1
- import React from " react" ;
2
- import " ./App.less" ;
3
- import { Routes } from " ./routes" ;
1
+ import React from ' react' ;
2
+ import ' ./App.less' ;
3
+ import { Routes } from ' ./routes' ;
4
4
5
5
function App ( ) {
6
6
return < Routes /> ;
Original file line number Diff line number Diff line change 1
- import "./wdyr" ;
1
+ import React from 'react' ;
2
+ import ReactDOM from 'react-dom' ;
3
+ import App from './App' ;
4
+ import './index.css' ;
5
+ import * as serviceWorker from './serviceWorker' ;
6
+ import './wdyr' ;
2
7
3
- import React from "react" ;
4
- import ReactDOM from "react-dom" ;
5
- import "./index.css" ;
6
- import App from "./App" ;
7
- import * as serviceWorker from "./serviceWorker" ;
8
8
ReactDOM . render (
9
9
< React . StrictMode >
10
10
< App />
11
11
</ React . StrictMode > ,
12
- document . getElementById ( " root" )
12
+ document . getElementById ( ' root' ) ,
13
13
) ;
14
14
15
15
// If you want your app to work offline and load faster, you can change
Original file line number Diff line number Diff line change 1
- import { HashRouter , Route , Switch } from 'react-router-dom' ;
2
- import React from 'react' ;
3
1
import { contexts } from '@oyster/common' ;
4
- import { MarketProvider } from './contexts/market ' ;
5
- import { LendingProvider } from './contexts/lending ' ;
2
+ import React from 'react ' ;
3
+ import { HashRouter , Route , Switch } from 'react-router-dom ' ;
6
4
import { AppLayout } from './components/Layout' ;
5
+ import { LendingProvider } from './contexts/lending' ;
6
+ import { MarketProvider } from './contexts/market' ;
7
7
8
8
import {
9
9
BorrowReserveView ,
@@ -13,14 +13,15 @@ import {
13
13
DepositView ,
14
14
FaucetView ,
15
15
HomeView ,
16
+ LiquidateReserveView ,
17
+ LiquidateView ,
18
+ MarginTrading ,
16
19
RepayReserveView ,
17
20
ReserveView ,
18
21
WithdrawView ,
19
- LiquidateView ,
20
- LiquidateReserveView ,
21
- MarginTrading ,
22
22
} from './views' ;
23
23
import { NewPosition } from './views/margin/newPosition' ;
24
+
24
25
const { WalletProvider } = contexts . Wallet ;
25
26
const { ConnectionProvider } = contexts . Connection ;
26
27
const { AccountsProvider } = contexts . Accounts ;
You can’t perform that action at this time.
0 commit comments