π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
style(ui): drop two redundant fragments in the mascot
Luis Ortizd5f1d7043ee1
diff --git a/packages/ui/src/shared/MascotIcon.tsx b/packages/ui/src/shared/MascotIcon.tsxindex 981714d..05d5e64 100644--- a/packages/ui/src/shared/MascotIcon.tsx+++ b/packages/ui/src/shared/MascotIcon.tsx@@ -42,19 +42,11 @@ export default function MascotIcon({ size = 22, pose = 'happy', tone = 'brand' }{!muted && <path d={MASCOT_CROWN} className="fill-accent" clipPath="url(#mascot-crown-split)" />}<rect {...MASCOT_SEAM} className={seam} />- {'pupils' in face ? (- <>- {face.pupils.map((pupil) => (- <circle key={pupil.cx} {...pupil} className={feature} strokeWidth="0" />- ))}- </>- ) : (- <>- {face.eyes.map((eye) => (+ {'pupils' in face+ ? face.pupils.map((pupil) => <circle key={pupil.cx} {...pupil} className={feature} strokeWidth="0" />)+ : face.eyes.map((eye) => (<path key={eye} d={eye} className={feature} strokeWidth={face.eyeWidth} fill="none" strokeLinecap="round" />))}- </>- )}<path d={face.mouth} className={feature} strokeWidth={face.mouthWidth} fill="none" strokeLinecap="round" /></svg>);