Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hevelius committed Jan 24, 2024
1 parent a5d0382 commit d4196d1
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions ts/features/fci/components/ErrorComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
VSpacer
} from "@pagopa/io-app-design-system";
import I18n from "../../../i18n";
import BaseScreenComponent from "../../../components/screens/BaseScreenComponent";
import { WithTestID } from "../../../types/WithTestID";
import {
addTicketCustomField,
Expand Down Expand Up @@ -136,17 +135,15 @@ const ErrorComponent = (props: Props) => {
};

return (
<BaseScreenComponent goBack={false}>
<SafeAreaView style={IOStyles.flex} testID={props.testID}>
<InfoScreenComponent
image={<Pictogram name={props.pictogram} />}
title={props.title}
body={props.subTitle}
email={props.email}
/>
<View style={IOStyles.horizontalContentPadding}>{footerButtons()}</View>
</SafeAreaView>
</BaseScreenComponent>
<SafeAreaView style={IOStyles.flex} testID={props.testID}>
<InfoScreenComponent
image={<Pictogram name={props.pictogram} />}
title={props.title}
body={props.subTitle}
email={props.email}
/>
<View style={IOStyles.horizontalContentPadding}>{footerButtons()}</View>
</SafeAreaView>
);
};

Expand Down

0 comments on commit d4196d1

Please sign in to comment.