diff --git a/src/components/TxErrorDialog.tsx b/src/components/TxErrorDialog.tsx index 8b757b4..898eb4d 100644 --- a/src/components/TxErrorDialog.tsx +++ b/src/components/TxErrorDialog.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Button, Dialog, Portal, Text } from 'react-native-paper'; +import { Dialog, DialogTitle, DialogContent, DialogActions, Button, Typography } from '@mui/material'; const TxErrorDialog = ({ error, @@ -11,17 +11,15 @@ const TxErrorDialog = ({ hideDialog: () => void; }) => { return ( - - - Transaction Error - - {error} - - - - - - + + Transaction Error + + {error} + + + + + ); }; diff --git a/src/styles/stylesheet.js b/src/styles/stylesheet.js index 5c0b5f4..a6153db 100644 --- a/src/styles/stylesheet.js +++ b/src/styles/stylesheet.js @@ -143,6 +143,7 @@ const styles = StyleSheet.create({ buttonContainer: { flexDirection: 'row', marginLeft: 20, + marginTop: 10, marginBottom: 10, justifyContent: 'space-evenly', },