+1
-1
src/components/Layout.tsx
+1
-1
src/components/Layout.tsx
+3
-3
src/components/RepoCard.tsx
+3
-3
src/components/RepoCard.tsx
···
165
165
<div
166
166
style={{
167
167
width: `${lang.percentage}%`,
168
-
backgroundColor: githubColors.get(lang.name)?.color || "#888888",
168
+
backgroundColor: githubColors.get(lang.name || "Other")?.color || "#888888",
169
169
height: "100%",
170
170
}}
171
171
/>
···
194
194
width: "10px",
195
195
height: "10px",
196
196
borderRadius: "2px",
197
-
backgroundColor: githubColors.get(lang.name)?.color || "#888888",
197
+
backgroundColor: githubColors.get(lang.name || "Other")?.color || "#888888",
198
198
}}
199
199
/>
200
200
<span style={{ color: "#94a3b8", display: "flex", gap: "8px" }}>
201
-
<span>{lang.name}</span>
201
+
<span>{lang.name || "Other"}</span>
202
202
<span>{lang.percentage.toFixed(1)}%</span>
203
203
</span>
204
204
</div>