Skip to content

Commit 5040300

Browse files
committed
[MTV-3523] [UI] Plan creation with Pre and Post hook fails with 'IsDarkTheme'
Signed-off-by: Jeff Puzzo <[email protected]>
1 parent 58ab9b4 commit 5040300

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/VersionedCodeEditor/VersionedCodeEditor.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComponentProps, FC } from 'react';
1+
import type { FC } from 'react';
22
import { Base64 } from 'js-base64';
33
import Loading from 'src/overview/components/Loading';
44

@@ -9,10 +9,9 @@ import useOpenshiftClusterVersion from '@utils/hooks/useOpenshiftClusterVersion/
99
import { OCP_VERSION_4_18 } from './utils/constants';
1010
import { isVersionGte } from './utils/utils';
1111

12-
type VersionedCodeEditorProps = Pick<
13-
ComponentProps<typeof PFCodeEditor>,
14-
'isReadOnly' | 'isDarkTheme'
15-
> & {
12+
type VersionedCodeEditorProps = {
13+
isDarkTheme?: boolean;
14+
isReadOnly?: boolean;
1615
value: string | undefined;
1716
onChange: (encodedValue: string) => void;
1817
minHeight?: string;

0 commit comments

Comments
 (0)