Skip to content

Commit

Permalink
chore: Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov authored and Neven Dyulgerov committed Nov 27, 2023
1 parent 19a6451 commit beb13d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/web/src/app/shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import {
ERC20DepositForm,
EtherDepositForm,
RawInputForm,
} from "@cartesi/rollups-explorer-ui";
import {
AppShell,
Expand Down Expand Up @@ -43,6 +44,7 @@ const Shell: FC<{ children: ReactNode }> = ({ children }) => {
const [navDepositOpened, { toggle: toggleNavDeposit }] =
useDisclosure(false);
const [etherDeposit, { open: openEtherDeposit, close: closeEtherDeposit }] =
useDisclosure(false);
const [rawInput, { open: openRawInput, close: closeRawInput }] =
useDisclosure(false);
const theme = useMantineTheme();
Expand Down Expand Up @@ -95,6 +97,8 @@ const Shell: FC<{ children: ReactNode }> = ({ children }) => {
title="Deposit Ether"
>
<EtherDepositForm applications={applications} />
</Modal>
<Modal
opened={rawInput}
onClose={closeRawInput}
title="Send raw input"
Expand Down Expand Up @@ -133,6 +137,9 @@ const Shell: FC<{ children: ReactNode }> = ({ children }) => {
data-testid="deposit-ether-button"
>
Deposit Ether
</Button>
<Button
variant="subtle"
leftSection={<TbInbox />}
onClick={openRawInput}
disabled={!isConnected}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export {
} from "./InputDetails";
export { ERC20DepositForm } from "./ERC20DepositForm";
export { RawInputForm } from "./RawInputForm";
export { EtherDepositForm } from "./EtherDepositForm";
export { Summary } from "./Summary";
export { SummaryCard } from "./SummaryCard";
export { TransactionProgress } from "./TransactionProgress";

0 comments on commit beb13d5

Please sign in to comment.