Fix minor eslint warnings
This commit is contained in:
parent
8917402888
commit
43a33c3ab3
7 changed files with 11 additions and 11 deletions
|
|
@ -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) => ({})
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue