Skip to content

Commit

Permalink
Fix prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
“LAKSHMIRPILLAI” committed Dec 9, 2024
1 parent 6ac8df1 commit c560ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const TestMethodology: React.FC<TestMethodologyProps> = ({
const value = event.target.value as Methodology['name'];
if (value === 'EpsilonGreedyBandit') {
onChange(defaultEpsilonGreedyBandit);
} else if(value === 'Roulette'){
} else if (value === 'Roulette') {
onChange({ name: 'Roulette' });
} else {
onChange({ name: 'ABTest' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export const addMethodologyToTestName = (testName: string, methodology: Methodol
return `${firstPart}_EpsilonGreedyBandit-${methodology.epsilon}${suffix}`;
} else if (methodology.name === 'Roulette') {
return `${firstPart}_Roulette${suffix}`;
}
else {
} else {
return `${firstPart}_ABTest${suffix}`;
}
};

0 comments on commit c560ad4

Please sign in to comment.