Skip to content

Commit 0426458

Browse files
João MonteJoao Tavares
authored andcommitted
Fix conflict missing info
1 parent 642c03e commit 0426458

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/html.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ export function getHtmlContent(dot?:string){
2424
const vscode = acquireVsCodeApi()
2525
const dot='${dot}'
2626
vscode.setState(dot)
27-
const res =await (await fetch(dot)).text()
27+
const res = await (await fetch(dot)).text()
2828
const gv = d3.select('#app').graphviz().renderDot(res, restyleSvg)
2929
d3.select('#hide').graphviz({zoom:false}).renderDot(res)
30-
const gv = d3.select('#app').graphviz().renderDot(res)
3130
3231
d3.select('#downloadSvg').on('click',()=>{
3332
const serializer = new XMLSerializer()
@@ -150,4 +149,4 @@ export function getHtmlContent(dot?:string){
150149
}
151150
<style/>
152151
</html>`
153-
}
152+
}

0 commit comments

Comments
 (0)