From 442e76578f248e0f834ad64d1d6d7c2907c618b6 Mon Sep 17 00:00:00 2001 From: paola-p <> Date: Tue, 12 Dec 2023 08:39:23 +0100 Subject: [PATCH] fix(packages/components): add react dependency to TotalLayout/TotalLayoutHeader/crossIcon file --- .../layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js | 1 + .../src/layout/TotalLayout/TotalLayoutHeader/crossIcon.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js index e4fa0d7b7..412d1375c 100644 --- a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js +++ b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js @@ -1,3 +1,4 @@ +import React from 'react'; import { useFormContext } from 'react-hook-form'; import { Stack } from '../../Stack'; import { Text } from '../../../typography'; diff --git a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/crossIcon.js b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/crossIcon.js index 756b0f6a7..3a3367388 100644 --- a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/crossIcon.js +++ b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/crossIcon.js @@ -1,3 +1,5 @@ +import React from 'react'; + const CrossIcon = () => (