From 8f84a848d72da488c229b10fcb0955fa21e16fc4 Mon Sep 17 00:00:00 2001
From: "deepsource-autofix[bot]"
<62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date: Tue, 3 Dec 2024 06:34:42 +0000
Subject: [PATCH] style: format code with Prettier and StandardJS
This commit fixes the style issues introduced in 274ab66 according to the output
from Prettier and StandardJS.
Details: None
---
src/components/stateless/TagCloud/index.jsx | 77 +++++++++++++++------
src/pages/home/index.jsx | 63 +++++++----------
2 files changed, 81 insertions(+), 59 deletions(-)
diff --git a/src/components/stateless/TagCloud/index.jsx b/src/components/stateless/TagCloud/index.jsx
index 0637947d..811d23cc 100644
--- a/src/components/stateless/TagCloud/index.jsx
+++ b/src/components/stateless/TagCloud/index.jsx
@@ -2,31 +2,64 @@ import React from 'react'
import styles from './index.module.less'
const TagCloud = () => {
-
return (
-
-
-
- - 'use server'
- - useOptimistic
- - React Server Components
- - Concurrent Rendering
- - useActionState
- - Improved Hydration
- - Form Actions
- - Server Actions
- - Suspense
- - 'use client'
- - useTransition
- - React Compiler
- - Streaming
- - useFormStatus
- - New React Hooks
- - use()
- - Automatic Memoization
+
+
+
+ -
+ 'use server'
+
+ -
+ useOptimistic
+
+ -
+ React Server Components
+
+ -
+ Concurrent Rendering
+
+ -
+ useActionState
+
+ -
+ Improved Hydration
+
+ -
+ Form Actions
+
+ -
+ Server Actions
+
+ -
+ Suspense
+
+ -
+ 'use client'
+
+ -
+ useTransition
+
+ -
+ React Compiler
+
+ -
+ Streaming
+
+ -
+ useFormStatus
+
+ -
+ New React Hooks
+
+ -
+ use()
+
+ -
+ Automatic Memoization
+
-
+
)
}
diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx
index 47e883d9..ac3d6ccc 100644
--- a/src/pages/home/index.jsx
+++ b/src/pages/home/index.jsx
@@ -85,8 +85,8 @@ const Home = () => {
[
{
content: text,
- role: 'user',
- },
+ role: 'user'
+ }
],
key,
signal
@@ -173,36 +173,32 @@ const Home = () => {
I love coding in .
-
+
-
+
@@ -228,26 +224,25 @@ const Home = () => {
-
+
<>
-
+
>
@@ -264,16 +259,16 @@ const Home = () => {
mask
@@ -290,13 +285,7 @@ const Home = () => {
@@ -306,13 +295,13 @@ const Home = () => {