Skip to content

Commit cd7d67a

Browse files
frankcalisemarkrickert
authored andcommitted
chore: lint fixes
1 parent 83da0fb commit cd7d67a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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
@@ -238,7 +238,7 @@ export function mst(opts: MstPluginOptions = {}) {
238238
const path = getPath(call.context)
239239

240240
// action related data
241-
const action = { args: args, name: call.name, path }
241+
const action = { args, name: call.name, path }
242242

243243
// mst internal data
244244
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)