Skip to content

Commit 5a3fbb6

Browse files
authored
fix: correct a typo in tutorial (#1697)
2 parents b4874d3 + 1cd33eb commit 5a3fbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)