Skip to content

Commit

Permalink
refactor(explorer): remove ui/Divider (#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
evavirseda authored Oct 23, 2024
1 parent fa8d8e1 commit 46aa9a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 33 deletions.
29 changes: 0 additions & 29 deletions apps/explorer/src/components/ui/Divider.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/explorer/src/components/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export * from './modal';

export * from './ButtonOrLink';
export * from './Card';
export * from './Divider';
export * from './ExpandableList';
export * from './FilterList';
export * from './ImageIcon';
Expand Down
11 changes: 8 additions & 3 deletions apps/explorer/src/pages/transaction-result/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
// Modifications Copyright (c) 2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

import { Accordion, AccordionHeader, AccordionContent, KeyValueInfo } from '@iota/apps-ui-kit';
import {
Accordion,
AccordionHeader,
AccordionContent,
KeyValueInfo,
Divider,
} from '@iota/apps-ui-kit';
import { type IotaEvent } from '@iota/iota-sdk/client';
import { formatAddress, parseStructTag } from '@iota/iota-sdk/utils';
import { TriangleDown } from '@iota/ui-icons';
import clsx from 'clsx';
import { useState } from 'react';

import { SyntaxHighlighter } from '~/components';
import { Divider, ObjectLink } from '~/components/ui';
import { ObjectLink } from '~/components/ui';

function Event({ event, divider }: { event: IotaEvent; divider: boolean }): JSX.Element {
const [open, setOpen] = useState(false);
Expand Down

0 comments on commit 46aa9a5

Please sign in to comment.