Skip to content

Commit

Permalink
Merge pull request #1665 from bancorprotocol/issue-#1663
Browse files Browse the repository at this point in the history
Fix chart in strategy page
  • Loading branch information
GrandSchtroumpf authored Feb 6, 2025
2 parents 12569e2 + f16c5b3 commit 8d231e3
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 3 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.
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.
5 changes: 2 additions & 3 deletions src/libs/routing/routes/strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ import { rootRoute } from './root';
import { createRoute, redirect } from '@tanstack/react-router';
import { InferSearch, searchValidator, validNumber } from '../utils';
import { activityValidators } from 'components/activity/utils';
import { defaultEnd, defaultStart } from 'components/strategies/common/utils';
import * as v from 'valibot';

const schema = {
...activityValidators,
priceStart: v.optional(validNumber, defaultStart().toString()),
priceEnd: v.optional(validNumber, defaultEnd().toString()),
priceStart: v.optional(validNumber),
priceEnd: v.optional(validNumber),
hideIndicators: v.optional(v.boolean()),
};

Expand Down

0 comments on commit 8d231e3

Please sign in to comment.