Skip to content

Commit

Permalink
fix(Send): add modal back for ErrorModal
Browse files Browse the repository at this point in the history
  • Loading branch information
KayBeSee committed Sep 22, 2022
1 parent f3e1dec commit 198bd05
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions apps/frontend/src/pages/Setup/SelectAccountScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, { useState, useRef } from 'react';
import styled from 'styled-components';
import { Bank } from '@styled-icons/remix-line';
import { Calculator } from '@styled-icons/heroicons-outline';
import { Bolt } from '@styled-icons/open-iconic';
import { v4 as uuidv4 } from 'uuid';

import { Dropdown, FileUploader, ErrorModal } from 'src/components';
import { Dropdown, FileUploader, ErrorModal, Modal } from 'src/components';

import { green700 } from 'src/utils/colors';

Expand Down Expand Up @@ -184,15 +183,12 @@ const SelectAccountScreen = ({
htmlFor='importDeviceFromFile'
ref={importDeviceFromFileRef}
></label>

<Modal isOpen={modalIsOpen} closeModal={() => setModalIsOpen(false)}>
{modalContent}
</Modal>
</div>
);
};

const SignupOptionTextContainer = styled.div`
display: flex;
flex-direction: column;
text-align: left;
margin-left: 1em;
`;

export default SelectAccountScreen;

0 comments on commit 198bd05

Please sign in to comment.