Просмотр исходного кода

success to show a log of refsStringify

kaori 5 лет назад
Родитель
Сommit
a02cc5e7f7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/client/js/components/CustomNavigation.jsx

+ 2 - 0
src/client/js/components/CustomNavigation.jsx

@@ -35,6 +35,8 @@ const CustomNavigation = (props) => {
 
     // if (mounted.current) {
     console.log(`ref = ${refs}`);
+    const refsStringify = JSON.stringify(refs);
+    console.log(`refsStringify : ${refsStringify}`);
     console.log(`refs.current[0] = ${refs.current[0]}`);
 
     // console.log(`activeTab = ${elm2.current.offsetWidth}`);