Skip to content

Commit de30233

Browse files
authored
Merge pull request #260 from MobulaFi/dev
Dev
2 parents 6141f1f + 536a9c0 commit de30233

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/features/misc/listing-form/components/nav/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ export const Nav = ({ state }) => {
2626
// {
2727
// name: "Vesting",
2828
// },
29-
{
30-
name: "Fees",
31-
},
29+
// {
30+
// name: "Fees",
31+
// },
3232
]),
3333

3434
{

src/features/misc/listing-form/index.tsx

+6-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { pushData } from "../../../lib/mixpanel";
99
import { triggerAlert } from "../../../lib/toastify";
1010
import { BasicInformation } from "./components/basic-information";
1111
import { ContractInformation } from "./components/contract-information";
12-
import { FeesInformation } from "./components/fees-information";
1312
import { Nav } from "./components/nav";
1413
import { SocialInformation } from "./components/social-information";
1514
import { Submit } from "./components/submit";
@@ -174,14 +173,14 @@ export const Listing = () => {
174173
{/* {actualPage === 3 ? (
175174
<VestingInformation state={state} dispatch={dispatch} />
176175
) : null} */}
177-
{actualPage === 3 ? (
176+
{/* {actualPage === 3 ? (
178177
<FeesInformation state={state} dispatch={dispatch} />
179-
) : null}
178+
) : null} */}
180179
</>
181180
)}
182-
{actualPage === 4 ? <Submit state={state} /> : null}
181+
{actualPage === 3 ? <Submit state={state} /> : null}
183182
<div className="flex">
184-
{actualPage !== 4 ? (
183+
{actualPage !== 3 ? (
185184
<Button
186185
extraCss="w-[160px]"
187186
onClick={() => {
@@ -194,14 +193,14 @@ export const Listing = () => {
194193
? pushData(`List now Clicked`)
195194
: pushData(`Edit now Clicked`);
196195

197-
setActualPage(4);
196+
setActualPage(3);
198197
}
199198
}}
200199
>
201200
{!editAssetReducer ? "List now" : "Edit now"}
202201
</Button>
203202
) : null}
204-
{actualPage === 4 || actualPage === 3 ? null : (
203+
{actualPage === 3 || actualPage === 2 ? null : (
205204
<Button
206205
extraCss="w-[180px] ml-[20px]"
207206
onClick={() => {

0 commit comments

Comments
 (0)