feat : add signin ,signout, forgot password features
This commit is contained in:
14
node_modules/zustand/react/shallow.js
generated
vendored
Normal file
14
node_modules/zustand/react/shallow.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
var React = require('react');
|
||||
var shallow = require('zustand/vanilla/shallow');
|
||||
|
||||
function useShallow(selector) {
|
||||
const prev = React.useRef(void 0);
|
||||
return (state) => {
|
||||
const next = selector(state);
|
||||
return shallow.shallow(prev.current, next) ? prev.current : prev.current = next;
|
||||
};
|
||||
}
|
||||
|
||||
exports.useShallow = useShallow;
|
||||
Reference in New Issue
Block a user