Changes in components/ComponentDialog.tsx [f727252:1b5c18b]
- File:
-
- 1 edited
-
components/ComponentDialog.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
components/ComponentDialog.tsx
rf727252 r1b5c18b 57 57 return () => clearTimeout(timeoutId); 58 58 }, [tempSearchQuery]); 59 60 useEffect(() => {61 if (open && category) {62 setSelectedBrands([]);63 setSortOrder('price_desc');64 setTempSearchQuery('');65 setSearchQuery('');66 setPriceRange([0, 2000]);67 }68 }, [open, category]);69 70 59 71 60 useEffect(() => { … … 308 297 Browsing: 309 298 </Box> 310 <b> {category === 'gpu' ? 'G RAPHICS CARDS' : category === 'memory_card' ? 'STORAGE EXPANSION CARDS' : category?.toUpperCase()}</b>299 <b> {category === 'gpu' ? 'Graphics Cards' : category?.toUpperCase()}</b> 311 300 {mode === 'forge' && currentBuildId && ( 312 301 <Typography
Note:
See TracChangeset
for help on using the changeset viewer.
