We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f64812 commit af766dfCopy full SHA for af766df
packages/svelte/src/internal/server/index.js
@@ -123,7 +123,7 @@ class Payload {
123
* @returns {RenderOutput}
124
*/
125
export function render(component, options = {}) {
126
- const payload = new Payload(options.idPrefix ? options.idPrefix + '' : '');
+ const payload = new Payload(options.idPrefix ? options.idPrefix + '-' : '');
127
128
const prev_on_destroy = on_destroy;
129
on_destroy = [];
0 commit comments