Skip to content

Commit

Permalink
fixup lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdriver committed Jun 27, 2021
1 parent 5478430 commit 6739e5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -1,2 +1,3 @@
node_modules/
dist/
demo/
4 changes: 4 additions & 0 deletions stories/Live.js
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { storiesOf } from '@storybook/react';
import { withKnobs, boolean } from '@storybook/addon-knobs/react';
Expand Down Expand Up @@ -144,6 +145,9 @@ const TestComponent = ({ live }) => {
</Container>
);
};
TestComponent.propTypes = {
live: PropTypes.object
}
const CustomEditor = () => {
// eslint-disable-next-line no-shadow
const [code, updateCode] = React.useState(functionExample);
Expand Down

0 comments on commit 6739e5c

Please sign in to comment.