Skip to content

Commit

Permalink
Inline the client
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 20, 2024
1 parent f395471 commit 439da03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extension/tab/hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ handleRpc("getCache", (clientId) => {
});

handleRpc("getMemoryInternals", (clientId) => {
const client = getClientById(clientId);

return client?.getMemoryInternals?.();
return getClientById(clientId)?.getMemoryInternals?.();
});

function getClientById(clientId: string) {
Expand Down

0 comments on commit 439da03

Please sign in to comment.