From a1a1ff6f3af9de2ab8b816352b734a3fc6139194 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 8 Nov 2023 20:09:18 -0600 Subject: [PATCH] Tweak film simulation component --- src/components/Badge.tsx | 4 ++-- src/simulation/PhotoFilmSimulation.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Badge.tsx b/src/components/Badge.tsx index 4286a108..ea09965f 100644 --- a/src/components/Badge.tsx +++ b/src/components/Badge.tsx @@ -11,7 +11,7 @@ export default function Badge({ uppercase?: boolean interactive?: boolean }) { - const baseStyles = () => { + const coreStyles = () => { switch (type) { case 'primary': return cc( 'px-1.5 py-[0.3rem] leading-none rounded-md', @@ -30,7 +30,7 @@ export default function Badge({ }; return ( {children} diff --git a/src/simulation/PhotoFilmSimulation.tsx b/src/simulation/PhotoFilmSimulation.tsx index 61ff6eb7..1531052f 100644 --- a/src/simulation/PhotoFilmSimulation.tsx +++ b/src/simulation/PhotoFilmSimulation.tsx @@ -43,7 +43,7 @@ export default function PhotoFilmSimulation({ : {renderContent()}} } {type !== 'text-only' &&