Skip to content

Commit

Permalink
fix: lint error and missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed May 16, 2021
1 parent c948c5f commit 465069d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
"eslint": "^7.24.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.2",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
Expand Down
5 changes: 2 additions & 3 deletions src/providers/node/SubscriptionProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ const SubscriptionProvider: FunctionComponent<SubscriptionProviderProps> = ({
}: SubscriptionProviderProps) => {
const node = useNode();

const [subscription, setSubscription] = useState<SubscriptionHandler | null>(
null
);
const [subscription, setSubscription] =
useState<SubscriptionHandler | null>(null);

useEffect(() => {
node
Expand Down

0 comments on commit 465069d

Please sign in to comment.