diff --git a/components/collapse.tsx b/components/collapse.tsx index 9ec0f54..c22394c 100644 --- a/components/collapse.tsx +++ b/components/collapse.tsx @@ -65,19 +65,15 @@ export const CollapseMenu =(props:{children:React.JSX.Element|React.JSX.Element[ React.useEffect(()=> { - console.log(`menu animation start:${stateGet.Open}`); refCollapse.current && refCollapse.current(stateGet.Open, 500, (state, id)=> { - console.log("menu animation done", state, id); stateSet({Done:true}); } ); }, [stateGet.Open, stateGet.Done]); - - console.log(`menu re-render: open:${stateGet.Open} done:${stateGet.Done} away:${stateGet.Away}`) return