[dyad] Hide green status dots on tabs - wrote 1 file(s)
This commit is contained in:
@@ -8,6 +8,10 @@ interface TabIndicatorProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function TabIndicator({ color }: TabIndicatorProps) {
|
export function TabIndicator({ color }: TabIndicatorProps) {
|
||||||
|
if (color === "green") {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
const colorClassMap = {
|
const colorClassMap = {
|
||||||
green: "bg-green-500",
|
green: "bg-green-500",
|
||||||
yellow: "bg-yellow-500",
|
yellow: "bg-yellow-500",
|
||||||
|
|||||||
Reference in New Issue
Block a user