Skip to content

Commit

Permalink
feat: remove debug preview
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed Feb 15, 2024
1 parent 9d27537 commit 799ff8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/routes/Protein.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
console.log("Received", entry);
});
let d = "";
</script>

<svelte:head>
Expand Down Expand Up @@ -114,10 +113,10 @@
on:mount={async ({ detail: { screenshot } }) => {
// upload the protein thumbnail if it doesn't exist
if (entry !== null && entry.thumbnail === null) {
d = await screenshot();
const b64 = await screenshot();
const res = await Backend.uploadProteinPng({
proteinName: entry.name,
base64Encoding: d,
base64Encoding: b64,
});
}
}}
Expand All @@ -143,7 +142,6 @@
<p>Could not find a protein with the id <code>{urlId}</code></p>
{/if}
</section>
<img src={d} />

<style>
#left-side {
Expand Down

0 comments on commit 799ff8a

Please sign in to comment.