Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jul 3, 2024
1 parent 0032c88 commit 45b02a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ExportOnyxState/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const readFromOnyxDatabase = () =>

db.executeAsync(query, []).then(({rows}) => {
// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/no-unsafe-member-access
const result = rows?._array.map((row) => ({[row?.record_key]: JSON.parse(row?.valueJSON as string)}));
const result = rows?._array.map((row) => ({[row?.record_key]: JSON.parse(row?.valueJSON as string) as string}));

resolve(result);
});
Expand Down

0 comments on commit 45b02a7

Please sign in to comment.