Skip to content

Commit

Permalink
Merge pull request #790 from Prop-House/snca-remove-create-round-page
Browse files Browse the repository at this point in the history
remove round creation
  • Loading branch information
cryptoseneca committed May 31, 2024
2 parents ea31fef + 5634aa5 commit 53de42d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions packages/prop-house-webapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
} from '@rainbow-me/rainbowkit';
import { PropHouseProvider, ipfs } from '@prophouse/sdk-react';
import '@rainbow-me/rainbowkit/styles.css';
import CreateRound from './pages/CreateRound';
import MainApp from './pages/MainApp';
import RoundOrHouseRouter from './components/RoundOrHouseRouter';
import bgColorFor, { BgColorElement } from './utils/bgColorFor';
Expand Down Expand Up @@ -152,7 +151,6 @@ function App() {
path="/create-prop"
element={showCreatePropPage ? <CreateProp /> : <MainApp />}
/>
<Route path="/create-round" element={<CreateRound />} />
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/houses" element={<Communities />} />
<Route path="*" element={<NotFound />} />
Expand Down
13 changes: 0 additions & 13 deletions packages/prop-house-webapp/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { isMobile } from 'web3modal';
import Button, { ButtonColor } from '../Button';
import bgColorFor, { BgColorElement } from '../../utils/bgColorFor';
import { IoSettingsSharp } from 'react-icons/io5';
import mixpanel from 'mixpanel-browser';

const NavBar = () => {
const location = useLocation();
Expand All @@ -34,18 +33,6 @@ const NavBar = () => {
<Navbar.Collapse id="basic-navbar-nav">
<Nav className={clsx('ms-auto', classes.navBarCollapse)}>
<div className={classes.buttonGroup}>
<Nav.Link as="div" className={classes.connectBtnContainer}>
<Button
text="Create a round"
bgColor={ButtonColor.Purple}
onClick={() => {
mixpanel.track('Clicked Create Round');
navigate('/create-round');
}}
classNames={classes.navBarBtn}
/>
</Nav.Link>

<Nav.Link as="div" className={classes.connectBtnContainer}>
<ConnectButton
showBalance={false}
Expand Down

0 comments on commit 53de42d

Please sign in to comment.