Skip to content

Commit 0c984ca

Browse files
committed
chore: lint fixes
1 parent 325cd83 commit 0c984ca

2 files changed

Lines changed: 3 additions & 3 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 = {

0 commit comments

Comments
 (0)