Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Nov 14, 2023
1 parent 7aa44ef commit bd1c8a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/GPUShareCryptoPieChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const GPUShareCryptoPieChart: React.FC<GPUShareCryptoPieChartProps> = ({
a.manufacturer === "Other"
? 1
: b.manufacturer === "Other"
? -1
: b.percentage - a.percentage,
? -1
: b.percentage - a.percentage,
)(data);
}, [date, gpuData]);

Expand Down
10 changes: 5 additions & 5 deletions scripts/processSteamData.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const dataWithManufacturer = dataGPUOnly.map((row) => ({
row.name.toLowerCase().includes("geforce")
? "NVIDIA"
: row.name.toLowerCase().includes("amd") ||
row.name.toLowerCase().includes("ati")
? "AMD"
: row.name.toLowerCase().includes("intel")
? "Intel"
: "Other",
row.name.toLowerCase().includes("ati")
? "AMD"
: row.name.toLowerCase().includes("intel")
? "Intel"
: "Other",
}));

const uniqueGPUs = uniq(dataWithManufacturer.map((row) => row.name)).sort();
Expand Down

0 comments on commit bd1c8a1

Please sign in to comment.