Skip to content

Commit

Permalink
feat(home): use further nextui components channel-list
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Nov 4, 2024
1 parent 79ccb85 commit 0e60405
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
16 changes: 0 additions & 16 deletions src/components/Message.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions src/pages/Home/ListChannelModal/ListChannelModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
ConfirmModal,
type Props as ConfirmModalProps,
} from "@/components/ConfirmModal";
import Message from "@/components/Message";
import { LightningChannel } from "@/models/lightning-channel";
import { checkError } from "@/utils/checkError";
import { instance } from "@/utils/interceptor";
Expand Down Expand Up @@ -84,7 +83,7 @@ export default function ListChannelModal({
isLoading={isLoading}
/>
)}
{error && <Message message={error} />}
{error && <Alert color="danger">{error}</Alert>}
</ConfirmModal.Body>
</ConfirmModal>
);
Expand Down

0 comments on commit 0e60405

Please sign in to comment.