Skip to content

Commit 114e23d

Browse files
committed
Fix typo: 'ulanh' -> 'ulang'
1 parent b4f5eaf commit 114e23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/you-might-not-need-an-effect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Komponen `ProfilePage` ini menerima *prop* `userId`. Halaman tersebut berisi *in
163163
export default function ProfilePage({ userId }) {
164164
const [comment, setComment] = useState('');
165165

166-
// 🔴 Hindari: menyetel ulanh state setiap prop berubah di dalam Effect
166+
// 🔴 Hindari: menyetel ulang state setiap prop berubah di dalam Effect
167167
useEffect(() => {
168168
setComment('');
169169
}, [userId]);

0 commit comments

Comments
 (0)