Skip to content

Commit

Permalink
Fix error display string template in Ps4.tsx. Add missing Web API imp…
Browse files Browse the repository at this point in the history
…ort. (#538)

Fix missing WebAPI import in PS4 Mode. Fix error display template (js uses backticks for templates)
  • Loading branch information
vgf89 authored Sep 24, 2023
1 parent 8e46129 commit ab319e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/src/Addons/Ps4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as yup from 'yup';
import JSEncrypt from 'jsencrypt';
import CryptoJS from 'crypto-js';
import isNil from 'lodash/isNil';
import WebApi from '../Services/WebApi';

import Section from '../Components/Section';

Expand Down Expand Up @@ -120,7 +121,7 @@ const verifyAndSavePS4 = async () => {
}
} catch (e) {
document.getElementById('ps4alert').textContent =
'ERROR: Could not verify required files: ${e}';
`ERROR: Could not verify required files: ${e}`;
}
};

Expand Down

0 comments on commit ab319e2

Please sign in to comment.