Fix minor eslint warnings

This commit is contained in:
uwap 2020-10-05 22:02:30 +02:00
parent 8917402888
commit 43a33c3ab3
7 changed files with 11 additions and 11 deletions

View file

@ -3,10 +3,10 @@ import React from "react";
export type MqttContextValue = {
state: State,
changeState: (topic: string, value: string) => void
changeState: (topic: string, value: string) => State
};
export default React.createContext({
state: {},
changeState: (_topic, _val) => {}
changeState: (_topic, _val) => ({})
});