Procházet zdrojové kódy

auto commit

master
jfinn před 3 roky
rodič
revize
42bd0bc211
1 změnil soubory, kde provedl 8 přidání a 1 odebrání
  1. 8
    1
      src/components/ColorPicker.tsx

+ 8
- 1
src/components/ColorPicker.tsx Zobrazit soubor

202
     ref,
202
     ref,
203
   ) => {
203
   ) => {
204
     // console.log("ColorInput 0")
204
     // console.log("ColorInput 0")
205
-    console.log("dev ColorInput 0",window.indexLoadedTime,document.readyState)
205
+    if (document.readyState!="complete" && window.tmp_hooks){
206
+      tmp_hooks.ColorInput_args={
207
+        color,
208
+onChange,
209
+label,
210
+      }
211
+    }
212
+    // console.log("dev ColorInput 0",window.indexLoadedTime,document.readyState)
206
     const [innerValue, setInnerValue] = React.useState(color);
213
     const [innerValue, setInnerValue] = React.useState(color);
207
     const inputRef = React.useRef(null);
214
     const inputRef = React.useRef(null);
208
 
215
 

Načítá se…
Zrušit
Uložit