Skip to content

Commit 2469d6d

Browse files
committed
Revert unnecessary changes. mb.
1 parent 607b7fe commit 2469d6d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/render/src/App.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ async function fetchFunctionAndLanguage(
243243
const code = await response.text();
244244
// We assume that the raw URL always ends with the file extension
245245
const language = getLanguage(rawUrl);
246+
246247
const func = await getFunctionByLine(code, language, line);
247248
if (!func) {
248249
throw new Error(`Unable to find function on line ${line}`);
@@ -382,14 +383,16 @@ onMount(() => {
382383
makeZoomable();
383384
});
384385
</script>
386+
385387
<div class="controlsContainer">
386388
<div class="controls">
387389
<button onclick={resetView}>Reset View</button>
388390
<button
389391
onclick={openCode}
390392
disabled={!Boolean(codeUrl)}
391393
title={Boolean(codeUrl) ? "" : "Only available for GitHub code"}
392-
>Open Code</button>
394+
>Open Code</button
395+
>
393396
<button onclick={saveSVG}>Download SVG</button>
394397
</div>
395398
{#if functionAndCFGMetadata}

0 commit comments

Comments
 (0)