mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 20:11:13 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
1
web/node_modules/zustand/react/shallow.d.ts
generated
vendored
Normal file
1
web/node_modules/zustand/react/shallow.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare function useShallow<S, U>(selector: (state: S) => U): (state: S) => U;
|
||||
14
web/node_modules/zustand/react/shallow.js
generated
vendored
Normal file
14
web/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