Skip to content

Commit ba5859a

Browse files
committed
chore: lint fixes
1 parent 93fd2a4 commit ba5859a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/reactotron-apollo-client/src/reactotron-apollo-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async function getCurrentState(client: ApolloClientType): Promise<ApolloClientSt
179179

180180
let currentState: ApolloClientState
181181

182-
return new Promise((res) => {
182+
return new Promise((resolve) => {
183183
setTimeout(() => {
184184
currentState = {
185185
id: tick,
@@ -188,7 +188,7 @@ async function getCurrentState(client: ApolloClientType): Promise<ApolloClientSt
188188
mutations: getAllMutations(client),
189189
cache: client.cache.extract(true),
190190
}
191-
res(currentState)
191+
resolve(currentState)
192192
}, 0)
193193
}).then(() => {
194194
return currentState

lib/reactotron-mst/src/reactotron-mst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export function mst(opts: MstPluginOptions = {}) {
237237
const path = getPath(call.context)
238238

239239
// action related data
240-
const action = { args: args, name: call.name, path }
240+
const action = { args, name: call.name, path }
241241

242242
// mst internal data
243243
const mstPayload = {

lib/reactotron-react-native/src/plugins/networking.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const networking =
4848

4949
// cache
5050
requestCache[reactotronCounter] = {
51-
data: data,
51+
data,
5252
xhr,
5353
stopTimer: reactotron.startTimer(),
5454
}

0 commit comments

Comments
 (0)