Skip to content

Commit

Permalink
fix(formdata): added a check to make sure the FormData class is avail…
Browse files Browse the repository at this point in the history
…able in the browser's global scope; (#5545)
  • Loading branch information
DigitalBrainJS committed Feb 13, 2023
1 parent c19f7bf commit a6dfa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/platform/browser/classes/FormData.js
@@ -1,3 +1,3 @@
'use strict';

export default FormData;
export default typeof FormData !== 'undefined' ? FormData : null;

0 comments on commit a6dfa72

Please sign in to comment.