From 4624e11dba2e7e4283df636e75735310e8cdf83b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Dec 2024 15:31:08 +0000 Subject: [PATCH] Update docs and sort content --- src/content/post/编程/前端/zustand 使用备忘.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ; }; ```