diff --git a/src/content/post/编程/前端/zustand 使用备忘.md b/src/content/post/编程/前端/zustand 使用备忘.md
index 8cfa3df..512892b 100644
--- a/src/content/post/编程/前端/zustand 使用备忘.md
+++ b/src/content/post/编程/前端/zustand 使用备忘.md
@@ -89,9 +89,9 @@ export interface CameraData {
}
const CurrentCamera: React.FC = () => {
- const cameraId = useGlobalStore(state => state.cameraData.cameraId);
+ const cameraData = useGlobalStore(state => state.cameraData);
- return ;
+ return ;
};
```