Skip to content

Commit d2b769e

Browse files
committed
address linting warnings
1 parent 57f4147 commit d2b769e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/modules/IDE/hooks/useP5Version.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable func-names */
12
import React, { useContext, useMemo, useState } from 'react';
23
import { useSelector } from 'react-redux';
34
import PropTypes from 'prop-types';
@@ -315,7 +316,7 @@ export function P5VersionProvider(props) {
315316
}
316317

317318
P5VersionProvider.propTypes = {
318-
children: PropTypes.element.isRequired
319+
children: PropTypes.node.isRequired
319320
};
320321

321322
export function useP5Version() {

0 commit comments

Comments
 (0)