mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
ImageZoom: Fix zoom level not saving (#3054)
This commit is contained in:
parent
1150a50355
commit
02f50b161b
2 changed files with 13 additions and 8 deletions
|
@ -22,6 +22,7 @@ import { findByPropsLazy, waitFor } from "../webpack";
|
|||
export let React: typeof import("react");
|
||||
export let useState: typeof React.useState;
|
||||
export let useEffect: typeof React.useEffect;
|
||||
export let useLayoutEffect: typeof React.useLayoutEffect;
|
||||
export let useMemo: typeof React.useMemo;
|
||||
export let useRef: typeof React.useRef;
|
||||
export let useReducer: typeof React.useReducer;
|
||||
|
@ -31,5 +32,5 @@ export const ReactDOM: typeof import("react-dom") & typeof import("react-dom/cli
|
|||
|
||||
waitFor("useState", m => {
|
||||
React = m;
|
||||
({ useEffect, useState, useMemo, useRef, useReducer, useCallback } = React);
|
||||
({ useEffect, useState, useLayoutEffect, useMemo, useRef, useReducer, useCallback } = React);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue