Skip to content

Commit

Permalink
Update packages/react-server-dom-webpack/src/ReactFlightDOMServerNode.js
Browse files Browse the repository at this point in the history
typo

Co-authored-by: Josh Story <josh.c.story@gmail.com>
  • Loading branch information
sebmarkbage and gnoff authored Mar 9, 2023
1 parent 2869879 commit aa16541
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function decodeReplyFromBusboy<T>(
busboyStream.on('file', (name, value, {filename, encoding, mimeType}) => {
if (encoding.toLowerCase() === 'base64') {
throw new Error(
"React doesn't accept base64 encoded file uploads because we don't except " +
"React doesn't accept base64 encoded file uploads because we don't expect " +
"form data passed from a browser to ever encode data that way. If that's " +
'the wrong assumption, we can easily fix it.',
);
Expand Down

0 comments on commit aa16541

Please sign in to comment.