mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Fix Code Format
This commit is contained in:
parent
2e08bda19d
commit
e6cc7db3c1
1 changed files with 1 additions and 1 deletions
|
|
@ -1624,7 +1624,7 @@ export const renderVegaVisualization = async (spec: string, i18n?: any) => {
|
|||
throw new Error(errorMsg);
|
||||
}
|
||||
const runtime = vega.parse(vegaSpec);
|
||||
const view = new vega.View(runtime, {renderer: 'none'});
|
||||
const view = new vega.View(runtime, { renderer: 'none' });
|
||||
const svg = await view.toSVG();
|
||||
return svg;
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue