Skip to content

Commit 1cd33eb

Browse files
committed
fix: correct a typo in tutorial
1 parent b4874d3 commit 1cd33eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/learn/preserving-and-resetting-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ export default function Contact({ contact }) {
21542154
<button onClick={() => {
21552155
setExpanded(!expanded);
21562156
}}>
2157-
{expanded ? '显示' : '隐藏'}邮箱
2157+
{expanded ? '隐藏' : '显示'}邮箱
21582158
</button>
21592159
</>
21602160
);

0 commit comments

Comments
 (0)