Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Apr 10, 2024
1 parent 31925fd commit 9c5ddb1
Show file tree
Hide file tree
Showing 2 changed files with 3 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
Expand Up @@ -3,7 +3,7 @@ import { {{pascal_case zome_manifest.name}}Client } from './{{dna_role_name}}/{{
import { {{pascal_case zome_manifest.name}}Store } from './{{dna_role_name}}/{{kebab_case zome_manifest.name}}/{{kebab_case zome_manifest.name}}-store.js';

{{#merge previous_file_content}}
{{#match_scope "export class {{pascal_case app_name}}App extends LitElement {"}}
{{#match_scope "export class HolochainApp extends LitElement {"}}
@provide({ context: {{camel_case zome_manifest.name}}StoreContext })
@property()
_{{camel_case zome_manifest.name}}Store!: {{pascal_case zome_manifest.name}}Store;
Expand Down
2 changes: 2 additions & 0 deletions templates/app/entry-type.instructions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ You have scaffolded an entry type with an image field. The image must be stored
If you haven't already, scaffold the file-storage zome in one of your DNAs by running these commands:

nix run github:holochain-open-dev/file-storage/nixify#scaffold

Then, set up the `FileStorageClient` together with `<file-storage-context>` in your `ui/src/holochain-app.ts`.
{{/if}}
{{/each}}

0 comments on commit 9c5ddb1

Please sign in to comment.