Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - 730 tellor reporting #774

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/diva-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { Tasks } from './component/Tasks/Tasks'
import Dashboard from './component/Dashboard/Dashboard'
import { useCustomMediaQuery } from './hooks/useCustomMediaQuery'
import { Offer } from './component/CreatePool/Offer'
import TellorDashboard from './component/TellorDashboard/TellorDashboard'

export const App = () => {
const chainId = useAppSelector((state) => state.appSlice.chainId)
Expand Down Expand Up @@ -54,6 +55,11 @@ export const App = () => {
path="/dashboard/:page?"
render={(props) => <Dashboard {...props} />}
/>
<Route
exact
path="/tellordashboard/:page?"
render={(props) => <TellorDashboard {...props} />}
/>
<Route path="/markets/:creatorAddress?">
<Markets />
</Route>
Expand All @@ -66,7 +72,6 @@ export const App = () => {
<Route path="/create">
<CreatePool />
</Route>

<Route path="/">
<Redirect from="/" to={`/markets/${DIVA_GOVERNANCE_ADDRESS}`} />
</Route>
Expand Down
3 changes: 3 additions & 0 deletions packages/diva-app/src/Images/tellor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/diva-app/src/Redux/appSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const fetchPools = createAsyncThunk(
count,
poolInfo,
}

console.log('req', req)
try {
const prices: OrderOutputType[] = await getOrderbookPrices(req)
// Update price parameters to display market page
Expand Down
Loading