Skip to content

Commit eb2a2d9

Browse files
edgarkhanzadiankyranjamie
authored andcommitted
fix: move prism to monorepo
1 parent 7ef1703 commit eb2a2d9

File tree

7 files changed

+3
-416
lines changed

7 files changed

+3
-416
lines changed

src/app/common/clarity-prism.ts

Lines changed: 0 additions & 126 deletions
This file was deleted.

src/app/features/errors/app-error-boundary.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ import BroadcastError from '@assets/images/unhappy-face-ui.png';
44
import { SharedComponentsSelectors } from '@tests/selectors/shared-component.selectors';
55
import { Box, Flex, HStack, styled } from 'leather-styles/jsx';
66

7-
import { Button, CopyIcon, Link } from '@leather.io/ui';
7+
import { Button, CopyIcon, Link, Prism } from '@leather.io/ui';
88
import { isError } from '@leather.io/utils';
99

10-
import { Prism } from '@app/common/clarity-prism';
1110
import { useClipboard } from '@app/common/hooks/use-copy-to-clipboard';
1211
import { compliantErrorBody } from '@app/query/common/compliance-checker/compliance-checker.query';
1312
import { CodeBlock } from '@app/ui/components/codeblock';

src/app/features/stacks-transaction-request/contract-deploy-details/contract-deploy-details.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import { useState } from 'react';
22

33
import { HStack, HTMLStyledProps, Stack, styled } from 'leather-styles/jsx';
44

5-
import { Title } from '@leather.io/ui';
5+
import { Prism, Title } from '@leather.io/ui';
66

7-
import { Prism } from '@app/common/clarity-prism';
87
import { AttachmentRow } from '@app/features/stacks-transaction-request/attachment-row';
98
import { ContractPreviewLayout } from '@app/features/stacks-transaction-request/contract-preview';
109
import { Row } from '@app/features/stacks-transaction-request/row';

src/app/ui/components/codeblock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { forwardRef } from 'react';
22

33
import { Box, BoxProps } from 'leather-styles/jsx';
44

5-
import { Highlighter, HighlighterProps } from './highlighter';
5+
import { Highlighter, HighlighterProps } from '@leather.io/ui';
66

77
type CodeBlockProps = HighlighterProps & BoxProps;
88

src/app/ui/components/highlighter.tsx

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)