Browse Source

tabPosition props 처리

goodboy 6 years ago
parent
commit
84c6a6607d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Player.js

+ 1 - 1
src/components/Player.js

@@ -157,7 +157,7 @@ const onShare = async () => {
 
 export default props => {
   const [modalVisible, setModalVisible] = useState(null);
-  const { y: tabY } = props.Pages.tabPosition;
+  const { y: tabY } = props.tabPosition;
   const destination = tabY - minHeight - getStatusBarHeight(true);
   const [currentPlayerValue, setCurrentPlayerValue] = useState(0);
   const [isPlay, setPlay] = useState(false);