Przeglądaj źródła

fix socket PropTypes

kaori 3 lat temu
rodzic
commit
70f9e4b583

+ 1 - 1
packages/app/src/components/Admin/ExportArchiveDataPage.jsx

@@ -248,7 +248,7 @@ class ExportArchiveDataPage extends React.Component {
 
 
 ExportArchiveDataPage.propTypes = {
 ExportArchiveDataPage.propTypes = {
   t: PropTypes.func.isRequired, // i18next
   t: PropTypes.func.isRequired, // i18next
-  socket: PropTypes.func,
+  socket: PropTypes.object,
 };
 };
 
 
 const ExportArchiveDataPageWrapperFC = (props) => {
 const ExportArchiveDataPageWrapperFC = (props) => {