Skip to content

Commit

Permalink
Merge pull request #47 from AkinariHex/nextjs
Browse files Browse the repository at this point in the history
Removed filters to have stability for production
  • Loading branch information
AkinariHex authored Jan 17, 2024
2 parents 30f605c + 7907237 commit 2ff2b86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
width: 16vw;
gap: 1rem;
flex-grow: 1;
padding-bottom: 0.1rem;
}

.filterName {
Expand Down
13 changes: 2 additions & 11 deletions components/Collapsible/FiltersCollapsible/FiltersCollapsible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,13 @@ export default function FiltersCollapsible({
setParamsToPush={setParamsToPush}
/>
</motion.div>
<motion.div className={styles.filter}>
<h2>Winrate</h2>
<RangeSlider
name={'winrate'}
max={100}
value={winrate}
setParamsToPush={setParamsToPush}
/>
</motion.div>
<motion.div className={styles.filter}>
{/* <motion.div className={styles.filter}>
<h2>Tier</h2>
<TierSelector
value={{ inclTier, exclTier }}
setParamsToPush={setParamsToPush}
/>
</motion.div>
</motion.div> */}
</motion.div>
<motion.div variants={collapsibleContent} className={styles.buttons}>
<div
Expand Down
4 changes: 0 additions & 4 deletions components/Dashboard/FilterButtons/FilterButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ export default function FilterButtons({ params }: { params: {} }) {
text={'All time'}
isSelected={params.time == null || params.time === 'infinite'}
/>
{/* <FilterChangeButton
text={'Custom'}
isSelected={params.time === 'custom'}
/> */}
</div>
</div>
);
Expand Down

0 comments on commit 2ff2b86

Please sign in to comment.