mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-03 22:13:13 +00:00
Merge pull request #70 from codex-storage/releases/v0.0.9
Releases/v0.0.9
This commit is contained in:
commit
503cca59af
@ -1,4 +1,4 @@
|
||||
import { Cell } from "@codex-storage/marketplace-ui-components";
|
||||
import { Cell, Tooltip } from "@codex-storage/marketplace-ui-components";
|
||||
import PurchaseStateIcon from "../../assets/icons/purchases-state-pending.svg?react";
|
||||
import SuccessCircleIcon from "../../assets/icons/success-circle.svg?react";
|
||||
import ErrorCircleIcon from "../../assets/icons/error-circle.svg?react";
|
||||
@ -8,7 +8,7 @@ type Props = {
|
||||
message: string | undefined;
|
||||
};
|
||||
|
||||
export const CustomStateCellRender = ({ state }: Props) => {
|
||||
export const CustomStateCellRender = ({ state, message }: Props) => {
|
||||
const icons = {
|
||||
pending: PurchaseStateIcon,
|
||||
submitted: PurchaseStateIcon,
|
||||
@ -32,14 +32,13 @@ export const CustomStateCellRender = ({ state }: Props) => {
|
||||
return (
|
||||
<Cell>
|
||||
<p className={"cell-state" + states[state as keyof typeof states]}>
|
||||
{/* {message ? (
|
||||
{message ? (
|
||||
<Tooltip message={message}>
|
||||
<Icon width={32} className="cell-stateIcon" />
|
||||
<Icon width={20} className="cell-stateIcon" />
|
||||
</Tooltip>
|
||||
) : (
|
||||
<Icon width={32} className="cell-stateIcon" />
|
||||
)} */}
|
||||
<Icon width={20} />
|
||||
<Icon width={20} className="cell-stateIcon" />
|
||||
)}
|
||||
</p>
|
||||
</Cell>
|
||||
);
|
||||
|
||||
@ -86,7 +86,6 @@ export function LogLevel() {
|
||||
message={toast.message}
|
||||
time={toast.time}
|
||||
variant={toast.variant}
|
||||
duration={400000000}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user