Skip to content

Commit

Permalink
Fix for DAO Route after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshpw committed Nov 4, 2024
1 parent 1a90654 commit c1a836b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/creator/token/etherlink/steps/Ownership.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Ownership: React.FC = () => {
<Grid container direction="row">
<DescriptionContainer item>
<DescriptionText>
This would be an FA2-compatible token contract that will serve to assign voting weight based on
This would be an ERC20-compatible token contract that will serve to assign voting weight based on
ownership.
</DescriptionText>
</DescriptionContainer>
Expand Down
5 changes: 5 additions & 0 deletions src/modules/creator/token/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { Success as TezosSuccess } from "./tezos/steps/Success"
import { Success as EtherlinkSuccess } from "./etherlink/steps/Success"
import { EtherlinkTokenDeployment } from "./etherlink"
import { useTezos } from "services/beacon/hooks/useTezos"
import { Ownership as EtherlinkOwnership } from "./etherlink/steps/Ownership"
import { DeploymentProvider as EtherlinkDeploymentProvider } from "./etherlink/state/context"
import { DeploymentProvider as TezosDeploymentProvider } from "./tezos/state/context"

Expand All @@ -24,9 +25,13 @@ export const TokenDeploymentRouter = (): JSX.Element => {
<Route path={`${match.url}/deployment`}>
<EtherlinkTokenDeployment />
</Route>
<Route path={`${match.url}/ownership`}>
<EtherlinkOwnership />
</Route>
<Route path={`${match.url}/success`}>
<EtherlinkSuccess />
</Route>
<Redirect to={`${match.url}/ownership`} />
</Switch>
</EtherlinkDeploymentProvider>
)
Expand Down

0 comments on commit c1a836b

Please sign in to comment.