Skip to content

Commit

Permalink
fix: remove unneeded await for getprintapps
Browse files Browse the repository at this point in the history
  • Loading branch information
hblitza committed May 4, 2023
1 parent be95c44 commit f286134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PrintForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const PrintForm: React.FC<PrintFormProps> = ({

// Use locale print app if available.
// Implies that a print app with the language code exists.
const apps = await pManager.getPrintApps();
const apps = pManager.getPrintApps();

if (apps && currentLanguageCode && apps.includes(currentLanguageCode)) {
await pManager.setPrintApp(currentLanguageCode);
Expand Down

0 comments on commit f286134

Please sign in to comment.