Skip to content

Commit 658dbe4

Browse files
committed
update docusaurus
1 parent d382f82 commit 658dbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ type TranslationKey = `translation.${LocaleKeyPages}.${string}`; // Type Transla
321321
const homeTitle: TranslationKey = 'translation.home.title';
322322

323323
// ❌ Avoid
324-
const color = 'blue-450'; // Type 'string' - Since color 'blue-450' doesn't exist and results in runtime error
324+
const color = 'blue-450'; // Type 'string' - Color 'blue-450' doesn't exist, leading to a runtime error.
325325
// ✅ Use
326326
type BaseColor = 'blue' | 'red' | 'yellow' | 'gray';
327327
type Variant = 50 | 100 | 200 | 300 | 400;

0 commit comments

Comments
 (0)