Skip to content

Commit

Permalink
codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Oein committed Jun 16, 2024
1 parent a766046 commit 4880bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/src/utils/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
export { configMessagePrefix, windowRequestPrefix };

export function request<T = any>(endpoint: string, args: any = {}) {
return new Promise<T>((resolve, reject) => {
return new Promise<T>((resolve) => {
const id = Math.random().toString(36).substr(2, 9);
window.postMessage(
windowRequestPrefix +
Expand Down

0 comments on commit 4880bd1

Please sign in to comment.