(e)
| 982 | See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e; |
| 983 | } |
| 984 | function g(e) { |
| 985 | var r = v(); |
| 986 | if (e._context !== void 0) { |
| 987 | var a = e._context; |
| 988 | a.Consumer === e ? l("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?"); |
| 989 | } |
| 990 | return r.useContext(e); |
| 991 | } |
| 992 | function W(e) { |
| 993 | var r = v(); |
| 994 | return r.useState(e); |