diff --git a/new-lamassu-admin/src/App.jsx b/new-lamassu-admin/src/App.jsx index e8f72672..b17facf0 100644 --- a/new-lamassu-admin/src/App.jsx +++ b/new-lamassu-admin/src/App.jsx @@ -6,8 +6,9 @@ import { StylesProvider, jssPreset, MuiThemeProvider, - makeStyles -} from '@mui/material/styles' + StyledEngineProvider, + makeStyles, +} from '@mui/material/styles'; import { create } from 'jss' import extendJss from 'jss-plugin-extend' import React, { useContext, useState } from 'react' @@ -153,15 +154,17 @@ const App = () => { - - -
- + + + +
+ + - ) + ); } export default App diff --git a/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx b/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx index 83eb6844..2f533454 100644 --- a/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx +++ b/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx @@ -86,7 +86,8 @@ const BooleanPropertiesTable = memo( ) : ( setEditing(true)}> + onClick={() => setEditing(true)} + size="large"> {disabled ? : } )} @@ -121,11 +122,11 @@ const BooleanPropertiesTable = memo( - ) + ); }} - ) + ); } ) diff --git a/new-lamassu-admin/src/components/editableTable/Row.jsx b/new-lamassu-admin/src/components/editableTable/Row.jsx index 4ea2b7fb..90afd4bc 100644 --- a/new-lamassu-admin/src/components/editableTable/Row.jsx +++ b/new-lamassu-admin/src/components/editableTable/Row.jsx @@ -77,7 +77,8 @@ const ActionCol = ({ disabled, editing }) => { onEdit && onEdit(values.id)}> + onClick={() => onEdit && onEdit(values.id)} + size="large"> {disableEdit ? : } @@ -88,7 +89,8 @@ const ActionCol = ({ disabled, editing }) => { disabled={disabled} onClick={() => { setDeleteDialog(true) - }}> + }} + size="large"> {disabled ? : } { )} - ) + ); } const ECol = ({ editing, focus, config, extraPaddingRight, extraPadding }) => { diff --git a/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx b/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx index 20018c63..ffd90428 100644 --- a/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx +++ b/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx @@ -114,7 +114,7 @@ const Autocomplete = ({ ) @@ -134,7 +134,7 @@ const Autocomplete = ({ ) }} /> - ) + ); } export default Autocomplete diff --git a/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx b/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx index 317e711e..ec9dd9b9 100644 --- a/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx +++ b/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx @@ -33,7 +33,7 @@ const SingleRowTable = ({ {title} - + @@ -62,7 +62,7 @@ const SingleRowTable = ({ - ) + ); } export default SingleRowTable diff --git a/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx b/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx index b7a4e07e..9e78eefb 100644 --- a/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx +++ b/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx @@ -252,7 +252,7 @@ const AddMachine = memo(({ close, onPaired }) => {
Add Machine - + @@ -279,7 +279,7 @@ const AddMachine = memo(({ close, onPaired }) => {
- ) + ); }) export default AddMachine diff --git a/new-lamassu-admin/src/pages/Authentication/Login.jsx b/new-lamassu-admin/src/pages/Authentication/Login.jsx index 5249bfc4..e11a1454 100644 --- a/new-lamassu-admin/src/pages/Authentication/Login.jsx +++ b/new-lamassu-admin/src/pages/Authentication/Login.jsx @@ -15,13 +15,13 @@ const Login = () => { spacing={0} direction="column" alignItems="center" - justify="center" + justifyContent="center" className={classes.welcomeBackground}> - ) + ); } export default Login diff --git a/new-lamassu-admin/src/pages/Authentication/Register.jsx b/new-lamassu-admin/src/pages/Authentication/Register.jsx index 5292a89c..ec4f779e 100644 --- a/new-lamassu-admin/src/pages/Authentication/Register.jsx +++ b/new-lamassu-admin/src/pages/Authentication/Register.jsx @@ -131,7 +131,7 @@ const Register = () => { spacing={0} direction="column" alignItems="center" - justify="center" + justifyContent="center" className={classes.welcomeBackground}>
@@ -214,7 +214,7 @@ const Register = () => {
- ) + ); } export default Register diff --git a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx index e924e7ae..4b1441fa 100644 --- a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx +++ b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx @@ -121,7 +121,7 @@ const Reset2FA = () => { spacing={0} direction="column" alignItems="center" - justify="center" + justifyContent="center" className={classes.welcomeBackground}>
@@ -205,7 +205,7 @@ const Reset2FA = () => {
- ) + ); } export default Reset2FA diff --git a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx index 16ac3785..1f741ff9 100644 --- a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx +++ b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx @@ -96,7 +96,7 @@ const ResetPassword = () => { spacing={0} direction="column" alignItems="center" - justify="center" + justifyContent="center" className={classes.welcomeBackground}>
@@ -164,7 +164,7 @@ const ResetPassword = () => {
- ) + ); } export default ResetPassword diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx index dc93c3d7..4574f27e 100644 --- a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx +++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx @@ -64,7 +64,8 @@ const BlacklistAdvanced = ({ view: it => ( setSelectedMessage(it)}> + onClick={() => setSelectedMessage(it)} + size="large"> ) @@ -81,7 +82,8 @@ const BlacklistAdvanced = ({ disabled={ !R.isNil(R.path(['allowToggle'], it)) && !R.path(['allowToggle'], it) - }> + } + size="large"> {R.path(['allowToggle'], it) ? ( ) : ( diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx index 872beef7..6f7852bd 100644 --- a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx +++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx @@ -49,7 +49,8 @@ const BlacklistTable = ({ onClick={() => { setDeleteDialog(true) setToBeDeleted(it) - }}> + }} + size="large"> ) diff --git a/new-lamassu-admin/src/pages/Customers/helper.jsx b/new-lamassu-admin/src/pages/Customers/helper.jsx index 7d9f5a7e..7e3902cc 100644 --- a/new-lamassu-admin/src/pages/Customers/helper.jsx +++ b/new-lamassu-admin/src/pages/Customers/helper.jsx @@ -317,7 +317,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => { fullWidth label={`Available requests`} className={classes.picker} - getOptionSelected={R.eqProps('code')} + isOptionEqualToValue={R.eqProps('code')} labelProp={'display'} options={customInfoRequirementOptions} onChange={(evt, it) => {}} @@ -343,7 +343,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => { }> )} - ) + ); } const customElements = { diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx index e10d71a5..d045afc9 100644 --- a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx +++ b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx @@ -144,7 +144,8 @@ const IndividualDiscounts = () => { onClick={() => { setDeleteDialog(true) setToBeDeleted({ variables: { discountId: t.id } }) - }}> + }} + size="large"> ) diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx index a002f5df..a63c0ffc 100644 --- a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx +++ b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx @@ -120,7 +120,8 @@ const PromoCodes = () => { onClick={() => { setDeleteDialog(true) setToBeDeleted({ variables: { codeId: t.id } }) - }}> + }} + size="large"> ) diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx index 793e40df..c8338af5 100644 --- a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx +++ b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx @@ -200,158 +200,155 @@ const CashCassettes = () => { /> ) - return ( - !dataLoading && ( - <> - R.path(['cashboxBatchesCsv'])(logs)} - timezone={timezone} - args={{ timezone }} - /> - ) : ( - <> - ) - } - ]} - iconClassName={classes.listViewButton} - className={classes.tableWidth} - appendix={ - -

- For details on configuring cash boxes and cassettes, please read - the relevant knowledgebase article: + return (!dataLoading && (<> + R.path(['cashboxBatchesCsv'])(logs)} + timezone={timezone} + args={{ timezone }} + /> + ) : ( + <> + ) + } + ]} + iconClassName={classes.listViewButton} + className={classes.tableWidth} + appendix={ + +

+ For details on configuring cash boxes and cassettes, please read + the relevant knowledgebase article: +

+ +
+ }> + {!showHistory && ( + + Cash box resets + + {cashboxReset && ( +

+ {onlyFirstToUpper(cashboxReset)}

- - - }> - {!showHistory && ( - - Cash box resets - - {cashboxReset && ( -

- {onlyFirstToUpper(cashboxReset)} -

- )} - setEditingSchema(true)} - className={classes.button}> - - -
-
- )} -
- {!showHistory && ( - <> - - - {data && R.isEmpty(machines) && ( - )} - - )} - {showHistory && ( - - )} - setEditingSchema(true)} + className={classes.button} + size="large"> + + + + + )} + + {!showHistory && ( + <> + - {wizard && ( - { - setWizard(false) - }} - error={error?.message} - save={onSave} - locale={locale} - /> - )} - {editingSchema && ( - setEditingSchema(null)} - open={true}> -

- We can automatically assume you emptied a bill validator's cash - box when the machine detects that it has been removed. -

- -

- Assume the cash box is emptied whenever it's removed, creating a - new batch on the history screen and setting its current balance to - zero. -

- -

- Cash boxes won't be assumed emptied when removed, nor their counts - modified. Instead, to update the count and create a new batch, - you'll click the 'Edit' button on this panel. -

- - - -
+ + {data && R.isEmpty(machines) && ( + )} - ) - ) + )} + {showHistory && ( + + )} + + {wizard && ( + { + setWizard(false) + }} + error={error?.message} + save={onSave} + locale={locale} + /> + )} + {editingSchema && ( + setEditingSchema(null)} + open={true}> +

+ We can automatically assume you emptied a bill validator's cash + box when the machine detects that it has been removed. +

+ +

+ Assume the cash box is emptied whenever it's removed, creating a + new batch on the history screen and setting its current balance to + zero. +

+ +

+ Cash boxes won't be assumed emptied when removed, nor their counts + modified. Instead, to update the count and create a new batch, + you'll click the 'Edit' button on this panel. +

+ + + +
+ )} + )); } export default CashCassettes diff --git a/new-lamassu-admin/src/pages/Maintenance/helper.jsx b/new-lamassu-admin/src/pages/Maintenance/helper.jsx index acc6ef1e..19e21f60 100644 --- a/new-lamassu-admin/src/pages/Maintenance/helper.jsx +++ b/new-lamassu-admin/src/pages/Maintenance/helper.jsx @@ -132,10 +132,11 @@ const getElements = ( onClick={() => { !R.isNil(setMachineId) && setMachineId(m.id ?? m.deviceId) setWizard(true) - }}> + }} + size="large"> - ) + ); } } ] diff --git a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx index 39de01cd..45b6c744 100644 --- a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx +++ b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx @@ -20,7 +20,8 @@ const Header = ({ title, editing, disabled, setEditing }) => { setEditing(true)} className={classes.button} - disabled={disabled}> + disabled={disabled} + size="large"> {disabled ? : } )} @@ -35,7 +36,7 @@ const Header = ({ title, editing, disabled, setEditing }) => {
)} - ) + ); } export default Header diff --git a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx index 00f9e094..7e5d288c 100644 --- a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx +++ b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx @@ -221,7 +221,8 @@ const ContactInfo = ({ wizard }) => { {!editing && ( setEditing(true)}> + onClick={() => setEditing(true)} + size="large"> )} @@ -311,7 +312,7 @@ const ContactInfo = ({ wizard }) => { )} - ) + ); } export default ContactInfo diff --git a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx index 3a729e98..3c73dc0b 100644 --- a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx +++ b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx @@ -180,7 +180,8 @@ const SMSNotices = () => { setPreviewOpen(false) setSelectedSMS(it) setShowModal(true) - }}> + }} + size="large">
) @@ -221,7 +222,8 @@ const SMSNotices = () => { R.equals(selectedSMS, it) ? setPreviewOpen(!previewOpen) : setPreviewOpen(true) - }}> + }} + size="large"> {R.equals(selectedSMS, it) && previewOpen ? ( ) : ( diff --git a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx index 9f342b0f..e6b4519c 100644 --- a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx +++ b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx @@ -233,7 +233,8 @@ const TermsConditions = () => { {!editing && ( setEditing(true)}> + onClick={() => setEditing(true)} + size="large"> )} @@ -287,7 +288,7 @@ const TermsConditions = () => { )} - ) + ); } export default TermsConditions diff --git a/new-lamassu-admin/src/pages/Services/schemas/bitgo.js b/new-lamassu-admin/src/pages/Services/schemas/bitgo.js index c440e60d..07c2705b 100644 --- a/new-lamassu-admin/src/pages/Services/schemas/bitgo.js +++ b/new-lamassu-admin/src/pages/Services/schemas/bitgo.js @@ -144,6 +144,6 @@ export default { environment: Yup.string('The environment must be a string') .matches(/(prod|test)/) .required('The environment is required') - }) + }); } } diff --git a/new-lamassu-admin/src/pages/Services/schemas/galoy.js b/new-lamassu-admin/src/pages/Services/schemas/galoy.js index 1ecedbfb..d98a07f4 100644 --- a/new-lamassu-admin/src/pages/Services/schemas/galoy.js +++ b/new-lamassu-admin/src/pages/Services/schemas/galoy.js @@ -57,6 +57,6 @@ export default { endpoint: Yup.string('The endpoint must be a string') .max(100, 'The endpoint is too long') .required('The endpoint is required') - }) + }); } } diff --git a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx index 671eb3ad..a9fb8d23 100644 --- a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx +++ b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx @@ -98,7 +98,8 @@ const SessionManagement = () => { { deleteSession({ variables: { sid: s.sid } }) - }}> + }} + size="large"> ) diff --git a/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx b/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx index a4302542..12ca1097 100644 --- a/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx +++ b/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx @@ -71,7 +71,7 @@ const CopyToClipboard = ({ )} - ) + ); } export default CopyToClipboard diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx index 97947e42..31d3a9ef 100644 --- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx +++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx @@ -178,121 +178,118 @@ const CustomInfoRequests = ({ ) - return ( - !configLoading && ( - <> - {customRequests.length > 0 && ( - it.customRequest.name - }, - { - header: 'Data entry type', - width: 300, - textAlign: 'left', - size: 'sm', - view: it => inputTypeDisplay[it.customRequest.input.type] - }, - { - header: 'Constraints', - width: 300, - textAlign: 'left', - size: 'sm', - view: it => - constraintTypeDisplay[it.customRequest.input.constraintType] - }, - { - header: 'Edit', - width: 100, - textAlign: 'center', - size: 'sm', - view: it => { - return ( - { - setToBeEdited(it) - return toggleWizard() - }}> - - - ) - } - }, - { - header: 'Delete', - width: 100, - textAlign: 'center', - size: 'sm', - view: it => { - return ( - { - setToBeDeleted(it.id) - return setDeleteDialog(true) - }}> - - - ) - } - } - ]} - data={customRequests} - Details={DetailsRow} - expandable - rowSize="sm" - /> - )} - {!customRequests.length && ( -
- - It seems you haven't added any custom information requests yet. - - - Please read our{' '} - - Support Article - {' '} - on Compliance before adding new information requests. - - -
- )} - {showWizard && ( - { - setToBeEdited(null) - setHasError(false) - toggleWizard() - }} - toBeEdited={toBeEdited} - onSave={(...args) => handleSave(...args)} - existingRequirements={customRequests} - /> - )} - - { - setDeleteDialog(false) - setHasError(false) - }} - item={`custom information request`} - extraMessage={detailedDeleteMsg} - onConfirmed={() => handleDelete(toBeDeleted)} - /> - - ) - ) + return (!configLoading && (<> + {customRequests.length > 0 && ( + it.customRequest.name + }, + { + header: 'Data entry type', + width: 300, + textAlign: 'left', + size: 'sm', + view: it => inputTypeDisplay[it.customRequest.input.type] + }, + { + header: 'Constraints', + width: 300, + textAlign: 'left', + size: 'sm', + view: it => + constraintTypeDisplay[it.customRequest.input.constraintType] + }, + { + header: 'Edit', + width: 100, + textAlign: 'center', + size: 'sm', + view: it => { + return ( + { + setToBeEdited(it) + return toggleWizard() + }} + size="large"> + + + ); + } + }, + { + header: 'Delete', + width: 100, + textAlign: 'center', + size: 'sm', + view: it => { + return ( + { + setToBeDeleted(it.id) + return setDeleteDialog(true) + }} + size="large"> + + + ); + } + } + ]} + data={customRequests} + Details={DetailsRow} + expandable + rowSize="sm" + /> + )} + {!customRequests.length && ( +
+ + It seems you haven't added any custom information requests yet. + + + Please read our{' '} + + Support Article + {' '} + on Compliance before adding new information requests. + + +
+ )} + {showWizard && ( + { + setToBeEdited(null) + setHasError(false) + toggleWizard() + }} + toBeEdited={toBeEdited} + onSave={(...args) => handleSave(...args)} + existingRequirements={customRequests} + /> + )} + { + setDeleteDialog(false) + setHasError(false) + }} + item={`custom information request`} + extraMessage={detailedDeleteMsg} + onConfirmed={() => handleDelete(toBeDeleted)} + /> + )); } export default CustomInfoRequests diff --git a/new-lamassu-admin/src/pages/Triggers/components/helper.js b/new-lamassu-admin/src/pages/Triggers/components/helper.js index f1ab47b3..70ab864f 100644 --- a/new-lamassu-admin/src/pages/Triggers/components/helper.js +++ b/new-lamassu-admin/src/pages/Triggers/components/helper.js @@ -63,7 +63,7 @@ const getOverridesSchema = (values, customInfoRequests) => { .label('Automation') .matches(/(Manual|Automatic)/) .required() - }) + }); } const getDefaultSettings = () => { diff --git a/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx b/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx index d8d5f39a..c3a0c270 100644 --- a/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx +++ b/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx @@ -165,7 +165,7 @@ const WizardStep = ({ fullWidth label={`Select ${displayName}`} className={classes.picker} - getOptionSelected={R.eqProps('code')} + isOptionEqualToValue={R.eqProps('code')} labelProp={'display'} options={unfilled} onChange={(evt, it) => { @@ -194,7 +194,7 @@ const WizardStep = ({ )} - ) + ); } export default WizardStep diff --git a/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx b/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx index aaa78837..f4394a4e 100644 --- a/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx +++ b/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx @@ -52,13 +52,13 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) { variant={'persistent'} classes={{ paperAnchorDockedBottom: classes.drawer }}>
- +

Setup Lamassu Admin

{subtitle} @@ -69,7 +69,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) { xs={4} container direction="column" - justify="flex-start" + justifyContent="flex-start" alignItems="flex-end" spacing={5}> @@ -83,14 +83,14 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) { { @@ -104,7 +104,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) { xs={4} container direction="column" - justify="flex-start" + justifyContent="flex-start" alignItems="flex-end" spacing={5}> @@ -129,7 +129,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) { - ) + ); } export default Footer diff --git a/new-lamassu-admin/src/styling/theme.js b/new-lamassu-admin/src/styling/theme.js index db730113..77e8e2b4 100644 --- a/new-lamassu-admin/src/styling/theme.js +++ b/new-lamassu-admin/src/styling/theme.js @@ -1,4 +1,4 @@ -import { createTheme } from '@mui/material/styles' +import { createTheme, adaptV4Theme } from '@mui/material/styles'; import typographyStyles from 'src/components/typography/styles' @@ -18,7 +18,7 @@ import { const { p } = typographyStyles -export default createTheme({ +export default createTheme(adaptV4Theme({ typography: { fontFamily: inputFontFamily, body1: { ...p } @@ -158,4 +158,4 @@ export default createTheme({ } } } -}) +}))