Skip to content

Commit

Permalink
chore: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsley-einstein committed Feb 13, 2025
1 parent aeded64 commit 95b9c15
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions src/app/lock/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ export default function Page() {

<p>
Locking for {duration / 31536000} years for{" "}
{toSF((duration / 31536000 / 4) * amount)} veMONI voting power.
{toSF((duration / 31536000 / 2) * amount)} veMONI voting power.
</p>

<Slider
onChange={(value) => setDuration(value as number)}
size="md"
step={86400}
maxValue={126144000}
minValue={604800}
maxValue={63072000}
minValue={2629746}
aria-label="Temperature"
defaultValue={duration}
color="warning"
Expand All @@ -118,24 +118,24 @@ export default function Page() {
}}
marks={[
{
value: 604800,
label: "7 D",
value: 2629746,
label: "1 M",
},
{
value: 31536000,
label: "1 Y",
value: 7889238,
label: "3 M",
},
{
value: 63072000,
label: "2 Y",
value: 15778476,
label: "6 M",
},
{
value: 94608000,
label: "3 Y",
value: 31536000,
label: "1 Y",
},
{
value: 126144000,
label: "4 Y",
value: 63072000,
label: "2 Y",
},
]}
/>
Expand Down
12 changes: 6 additions & 6 deletions src/app/lock/extend/[tokenId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ const Page: FC<PageProps> = ({ params }) => {
onChange={(value) => setDuration(value as number)}
size="md"
step={86400}
maxValue={126144000}
minValue={604800}
maxValue={63072000}
minValue={7889238}
aria-label="Temperature"
defaultValue={duration}
isDisabled={maxLockSelected}
Expand All @@ -146,19 +146,19 @@ const Page: FC<PageProps> = ({ params }) => {
}}
marks={[
{
value: 31536000,
value: 7889238,
label: "Min",
},
{
value: 63072000,
value: 15778476,
label: ".",
},
{
value: 94608000,
value: 31536000,
label: ".",
},
{
value: 126144000,
value: 63072000,
label: "Max",
},
]}
Expand Down

0 comments on commit 95b9c15

Please sign in to comment.