Skip to content

Commit

Permalink
style: remove useless logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mondaychen committed Mar 13, 2024
1 parent 37fbc67 commit 50c0afe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/helpers/knowledge/fetchKnowledge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export type LocationInfo = {
};

export function fetchKnowledge(location: LocationInfo): string[] {
console.log(location);
// TODO: fetch from a server
const data = db as unknown as Data;
let result: string[] = [];
Expand Down
1 change: 0 additions & 1 deletion src/helpers/rpc/pageRPC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const callRPCWithTab = async <K extends keyof RPCMethods>(
for (let i = 0; i < maxTries; i++) {
try {
const response = await sendMessage(tabId, method, payload);
console.log("callRPCWithTab", response);
return response;
} catch (e) {
if (i === maxTries - 1) {
Expand Down

0 comments on commit 50c0afe

Please sign in to comment.