Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EricDevito committed Oct 9, 2024
1 parent 5b8caa0 commit 9e13fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/nouns-webapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import ProposalHistory from './pages/ProposalHistory';
import CandidateHistoryPage from './pages/CandidateHistoryPage';
import ForkPage from './pages/Fork';
import ForksPage from './pages/Forks';
import GeneratePage from './pages/Generate'

function App() {
const { account, chainId, library } = useEthers();
Expand Down Expand Up @@ -91,10 +90,6 @@ function App() {
<Route exact path="/explore" component={ExplorePage} />
<Route exact path="/fork/:id" component={ForkPage} />
<Route exact path="/fork" component={ForksPage} />

<Route exact path="/test" component={GeneratePage} />


<Route component={NotFoundPage} />
</Switch>
<Footer />
Expand Down
4 changes: 2 additions & 2 deletions packages/nouns-webapp/src/wrappers/nounsDao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ export const useAllProposalsViaChain = (skip = false): PartialProposalData => {
status: proposalStates[i]?.[0] ?? ProposalState.UNDETERMINED,
startBlock: parseInt(proposal?.startBlock?.toString() ?? ''),
endBlock: parseInt(proposal?.endBlock?.toString() ?? ''),
objectionPeriodEndBlock: parseInt(proposal?.endBlock?.toString() ?? ''),
objectionPeriodEndBlock: parseInt(proposal?.objectionPeriodEndBlock.toString() ?? ''),
forCount: parseInt(proposal?.forVotes?.toString() ?? '0'),
againstCount: parseInt(proposal?.againstVotes?.toString() ?? '0'),
abstainCount: parseInt(proposal?.abstainVotes?.toString() ?? '0'),
Expand Down Expand Up @@ -1330,4 +1330,4 @@ export const useUpdatableProposalIds = (blockNumber: number) => {
data,
error,
};
};
};

0 comments on commit 9e13fb5

Please sign in to comment.