refactor(ui): useZustandShallowSelector

This commit is contained in:
Fu Diwei
2024-12-24 15:07:39 +08:00
parent 52d24ff2f2
commit 8b1ae309fb
51 changed files with 194 additions and 269 deletions

View File

@@ -1,5 +1,5 @@
import { useTheme } from "ahooks";
export default () => {
export default function () {
return useTheme({ localStorageKey: "certimate-ui-theme" });
};
}