Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
Merged

s #98

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions src/components/modules/escrow/ui/pages/MyEscrows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,57 +9,19 @@ import MyEscrowsTable from "@/components/modules/escrow/ui/tables/MyEscrowsTable
import MyEscrowsCards from "@/components/modules/escrow/ui/cards/MyEscrowsCards";
import MyEscrowsFilter from "@/components/modules/escrow/ui/filters/MyEscrowsFilter";
import { useGlobalUIBoundedStore } from "@/core/store/ui";
import Joyride from "react-joyride";
import { useState } from "react";

const MyEscrows = () => {
const isLoading = useGlobalUIBoundedStore((state) => state.isLoading);
const setActiveTab = useEscrowBoundedStore((state) => state.setActiveTab);
const activeMode = useEscrowBoundedStore((state) => state.activeMode);
const theme = useGlobalUIBoundedStore((state) => state.theme);

const [run, setRun] = useState(false);

return (
<>
{isLoading ? (
<Loader isLoading={isLoading} />
) : (
<>
<Joyride
run={run}
continuous
showSkipButton
hideCloseButton
callback={(data) => {
const { status } = data;
if (status === "skipped" || status === "finished") {
setRun(false);
}
}}
disableOverlayClose
styles={{
options:
theme === "dark"
? {
backgroundColor: "#19191B",
overlayColor: "rgba(0, 0, 0, 0.80)",
primaryColor: "#006BE4",
textColor: "#FFF",
width: 500,
zIndex: 1000,
}
: {
backgroundColor: "#FFFFFF",
overlayColor: "rgba(0, 0, 0, 0.60)",
primaryColor: "#006BE4",
textColor: "#000",
width: 500,
zIndex: 1000,
},
}}
/>

<div className="flex gap-3 w-full h-full p-6 justify-between">
<Tabs defaultValue="issuer" className="w-full">
<div className="flex w-full justify-between items-center flex-col 2xl:flex-row gap-16 md:gap-3">
Expand Down