-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca02808
commit 54bb6a7
Showing
18 changed files
with
280 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 16 additions & 21 deletions
37
packages/screens/LaunchpadERC20/LaunchpadERC20Tokens/LaunchpadERC20ManageToken.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
import React from "react"; | ||
|
||
|
||
import { BrandText } from "@/components/BrandText"; | ||
import { ScreenContainer } from "@/components/ScreenContainer"; | ||
import { useForceNetworkSelection } from "@/hooks/useForceNetworkSelection"; | ||
import { NetworkFeature, NetworkKind } from "@/networks"; | ||
import { ScreenFC, useAppNavigation } from "@/utils/navigation"; | ||
|
||
export const LaunchpadERC20ManageTokenScreen: ScreenFC<"LaunchpadERC20ManageToken"> = ({ | ||
route: { params }, | ||
}) => { | ||
const network = params?.network; | ||
useForceNetworkSelection(network); | ||
const navigation = useAppNavigation(); | ||
|
||
return ( | ||
<ScreenContainer | ||
headerChildren={<BrandText>Launchpad ERC 20</BrandText>} | ||
forceNetworkFeatures={[NetworkFeature.LaunchpadERC20]} | ||
forceNetworkKind={NetworkKind.Gno} | ||
isLarge | ||
responsive | ||
onBackPress={() => navigation.navigate("LaunchpadERC20Tokens")} | ||
> | ||
export const LaunchpadERC20ManageTokenScreen: ScreenFC< | ||
"LaunchpadERC20ManageToken" | ||
> = ({ route: { params } }) => { | ||
const network = params?.network; | ||
useForceNetworkSelection(network); | ||
const navigation = useAppNavigation(); | ||
|
||
</ScreenContainer> | ||
); | ||
return ( | ||
<ScreenContainer | ||
headerChildren={<BrandText>Launchpad ERC 20</BrandText>} | ||
forceNetworkFeatures={[NetworkFeature.LaunchpadERC20]} | ||
forceNetworkKind={NetworkKind.Gno} | ||
isLarge | ||
responsive | ||
onBackPress={() => navigation.navigate("LaunchpadERC20Tokens")} | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.