diff --git a/reflex/.templates/web/utils/state.js b/reflex/.templates/web/utils/state.js index 57fd22b50..59f63c360 100644 --- a/reflex/.templates/web/utils/state.js +++ b/reflex/.templates/web/utils/state.js @@ -161,7 +161,7 @@ export const applyEvent = async (event, socket) => { if (event.name == "_download") { const a = document.createElement("a"); a.hidden = true; - // Special case when linking to uploaded files (when rx.download is returned from upload_files handler()) + // Special case when linking to uploaded files (when rx.download is returned from upload_files handler.) a.href = event.payload.url.replace( "${getBackendURL(env.UPLOAD)}", getBackendURL(env.UPLOAD)