Skip to content

Commit

Permalink
Fixed template
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Nov 19, 2024
1 parent 17ddfb2 commit 961fd6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/app/coordinator-zome/ui/src/holochain-app.ts.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import './{{dna_role_name}}/{{kebab_case zome_manifest.name}}/elements/{{kebab_case zome_manifest.name}}-context.js';

{{replace (replace previous_file_content "</app-client-context>" "</{{kebab_case zome_manifest.name}}-context></app-client-context>") "<app-client-context .client=${this._client}>" "<app-client-context .client=${this._client}>\n<{{kebab_case zome_manifest.name}}-context role=\"{{dna_role_name}}\">" }}
{{replace (replace previous_file_content "</app-client-context>" (concat "</" (kebab_case zome_manifest.name) "-context>\n</app-client-context>") ) "<app-client-context .client=${this._client}>" (concat "<app-client-context .client=${this._client}>\n <" (kebab_case zome_manifest.name) "-context role=\"" dna_role_name "\">") }}
1 change: 1 addition & 0 deletions templates/app/web-app/ui/src/home-page.ts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { customElement } from "lit/decorators.js";
import { EntryRecord } from "@tnesh-stack/utils";
import { consume } from "@lit/context";
import { msg } from "@lit/localize";
import { AppClient } from '@holochain/client'

import '@tnesh-stack/elements/dist/elements/display-error.js';
import '@darksoil-studio/profiles-zome/dist/elements/profile-list-item.js';
Expand Down

0 comments on commit 961fd6b

Please sign in to comment.