Skip to content

Commit

Permalink
fix: nameing
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitgentleman committed Dec 23, 2023
1 parent f585bf3 commit 4ad5d43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { toggleRenderComponent } from "./entry-helpers";

const componentName = 'NAME'
const codeBlockUID = 'roam-render-tidy-NAME-cljs';
const cssBlockUID = 'roam-render-tidy-NAME-css';
const componentName = 'NAME' // keep this short
const codeBlockUID = `roam-render-${componentName}-cljs`;
const cssBlockUID = `roam-render-${componentName}-css`;
const renderString = `{{[[roam/render]]:((${codeBlockUID}))`;
const replacementString = '{{NAME}}';
const replacementString = `{{${componentName}}}`;
const version = 'v1';
const titleblockUID = 'roam-render-NAME';
const cssBlockParentUID = 'NAME-css-parent';
const titleblockUID = `roam-render-${componentName}`;
const cssBlockParentUID = `${componentName}-css-parent`;

function onload({extensionAPI}) {
const panelConfig = {
Expand Down

0 comments on commit 4ad5d43

Please sign in to comment.