Remove unneeded/confusing assignment

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 2aa48249cf216bc8cca7e95153695095923c0b86
This commit is contained in:
andrew rumble 2024-07-15 11:13:19 +01:00 committed by Copybot
parent 15ea69995a
commit 0e89857a9f

View file

@ -51,14 +51,11 @@ switch (process.env.NODE_ENV) {
webpackManifest = {}
}
function loadManifestFromWebpackDevServer(done = function () {}) {
webpackManifest = fetchJson(
new URL(`/manifest.json`, Settings.apis.webpack.url),
{
headers: {
Host: 'localhost',
},
}
)
fetchJson(new URL(`/manifest.json`, Settings.apis.webpack.url), {
headers: {
Host: 'localhost',
},
})
.then(json => {
webpackManifest = json
done()