Skip to content

Commit

Permalink
Merge branch 'improve-comment-initialization'
Browse files Browse the repository at this point in the history
  • Loading branch information
sopisoft committed Nov 30, 2024
2 parents 0a7d0a0 + 0c1823d commit cdb18b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content_scripts/components/canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ async function initRenderer() {

on_threads_change(async (_prev, next) => {
console.log("on_threads_change_canvas");
if (!next) return;
renderer.setThread(next.threads);
if (!next) renderer.destroy();
else renderer.setThread(next.threads);
});

browser.storage.onChanged.addListener(async (changes) => {
Expand Down

0 comments on commit cdb18b4

Please sign in to comment.