Skip to content

Commit

Permalink
Merge pull request #173 from alleslabs/feat/migrate-alert
Browse files Browse the repository at this point in the history
feat: add connect wallet alert to migrate page
  • Loading branch information
poomthiti authored Feb 8, 2023
2 parents 371cc38 + 32a886c commit eb17b89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Improvements

- [#173](https://github.com/alleslabs/celatone-frontend/pull/173) Add connect wallet alert to migrate page
- [#161](https://github.com/alleslabs/celatone-frontend/pull/161) Fix editable cell, no wrap when hover and click outside to close the editable cell
- [#159](https://github.com/alleslabs/celatone-frontend/pull/159) Add query key so refetch data when network change
- [#145](https://github.com/alleslabs/celatone-frontend/pull/145) Disable closing on some modal when click on modal overlay
Expand Down
5 changes: 5 additions & 0 deletions src/lib/pages/migrate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { useCallback, useEffect } from "react";
import { useForm } from "react-hook-form";

import { useCelatoneApp, useInternalNavigate } from "lib/app-provider";
import { ConnectWalletAlert } from "lib/components/ConnectWalletAlert";
import { ContractSelectSection } from "lib/components/ContractSelectSection";
import { Stepper } from "lib/components/stepper";
import WasmPageContainer from "lib/components/WasmPageContainer";
Expand Down Expand Up @@ -152,6 +153,10 @@ const Migrate = () => {
<Stepper mode="migrate" currentStep={2} />
</Box>
)}
<ConnectWalletAlert
mb="24px"
subtitle="You need to connect your wallet to perform this action"
/>
{/* Select Migrate Contract modal */}
<ContractSelectSection
mode="only-admin"
Expand Down

2 comments on commit eb17b89

@vercel
Copy link

@vercel vercel bot commented on eb17b89 Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on eb17b89 Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.