Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into issue-#1560
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandSchtroumpf committed Jan 13, 2025
2 parents 08e4763 + 39bd5d4 commit 0df52e2
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/strategy/overlapping/Overlapping/create/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/libs/routing/routes/sim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const simulatorInputRootRoute = createRoute({
? (search.end as string)
: getUnixTime(endOfDay(new Date())).toString();

if (Number(start) >= Number(end)) {
if (Number(start) > Number(end)) {
throw new Error('Invalid date range');
}

Expand Down Expand Up @@ -183,7 +183,7 @@ export const simulatorResultRoute = createRoute({
if (Number(search.end) <= 0) {
throw new Error('Invalid end date');
}
if (Number(search.start) >= Number(search.end)) {
if (Number(search.start) > Number(search.end)) {
throw new Error('Invalid date range');
}
if (!v.is(validAddress, search.baseToken)) {
Expand Down

0 comments on commit 0df52e2

Please sign in to comment.