Skip to content

Commit

Permalink
feat(DEV-14246): lint and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
costa-monite committed Feb 28, 2025
1 parent e902cb1 commit 0e10c49
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 63 deletions.
2 changes: 1 addition & 1 deletion packages/sdk-demo/src/components/EventListener/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const EventListener = () => {
const handler = ((event: CustomEvent) => {
handleNewEvent(type, event);
}) as EventListener;

eventHandlers.set(type, handler);
document.addEventListener(`monite.event:${type}`, handler);
});
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-demo/src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ msgstr "Counterparts"
msgid "Entity User ID"
msgstr "Entity User ID"

#: src/apps/SDKDemo/SDKDemo.tsx:171
#: src/apps/SDKDemo/SDKDemo.tsx:173
msgid "Error: <0>{0}</0>"
msgstr "Error: <0>{0}</0>"

Expand All @@ -43,8 +43,8 @@ msgstr "Integrations"
msgid "Login"
msgstr "Login"

#: src/apps/SDKDemo/SDKDemo.tsx:139
#: src/apps/SDKDemo/SDKDemo.tsx:185
#: src/apps/SDKDemo/SDKDemo.tsx:141
#: src/apps/SDKDemo/SDKDemo.tsx:187
msgid "Logout"
msgstr "Logout"

Expand Down
Loading

0 comments on commit 0e10c49

Please sign in to comment.