From 1fe917401e556d8294a7b782f4a51b7a65456a9b Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Thu, 25 Apr 2024 13:00:25 +0200 Subject: [PATCH] Fix logical error in log --- src/tss.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tss.ts b/src/tss.ts index f022dfd..715e763 100644 --- a/src/tss.ts +++ b/src/tss.ts @@ -307,7 +307,7 @@ function createTss_internal< throw new Error( [ `tss-react: Duplicate nested selector "${ruleName}" detected in ${ - name === + name !== undefined ? `useStyles named "${name}"` : "anonymous useStyles function"