Skip to content

Commit cfa8fe2

Browse files
committed
Fix webpack warning by removing non-existent Text component
- Removed Text import from PatternFly react-core (it doesn't exist) - Replaced Text component with standard HTML p element - Fixed styling to maintain same appearance - Resolves webpack compilation warning
1 parent cbffb3d commit cfa8fe2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/Dashboard/ImportPipelineModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
FileUpload,
66
Modal,
77
ModalVariant,
8-
Text,
98
Title,
109
} from '@patternfly/react-core';
1110
import { InfoCircleIcon } from '@patternfly/react-icons';
@@ -107,13 +106,14 @@ const ImportPipelineModal: React.FunctionComponent<ImportPipelineModalProps> = (
107106
</div>
108107

109108
{/* Help text */}
110-
<Text style={{
109+
<p style={{
111110
fontSize: '14px',
112111
color: '#666',
113-
marginBottom: '32px'
112+
marginBottom: '32px',
113+
margin: '0 0 32px 0'
114114
}}>
115115
Upload your blueprint file. Supported formats: JSON, TOML.
116-
</Text>
116+
</p>
117117

118118
{/* Action buttons */}
119119
<div style={{

0 commit comments

Comments
 (0)