Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
austenem committed Sep 19, 2024
1 parent 87db0f1 commit 20b9f53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function ConfigSlider<FormType extends FieldValues>({

const step = numMarks ? convertedMax / numMarks : 1;

const marks = Array.from({ length: convertedMax / step + 10 }, (_, i) => {
const marks = Array.from({ length: convertedMax / step }, (_, i) => {
const value = convertedMin % 2 === 0 ? convertedMin : 0 + step * (i + 1);
return {
value,
Expand Down
1 change: 0 additions & 1 deletion context/app/static/js/components/workspaces/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ interface TemplateExample {
description: string;
datasets: string[];
assay_display_name?: string[];
job_types?: string[];
resource_options?: WorkspaceResourceOptions;
required_filetypes?: string[];
}
Expand Down

0 comments on commit 20b9f53

Please sign in to comment.