Skip to content

Commit 2afe5af

Browse files
Fix typo in custom_block.md: change src/config/blocks.ts to src/index.js
Fixes #914
1 parent cb68235 commit 2afe5af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/volto-customization/custom_block.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ import WeatherView from './components/Blocks/Weather/View';
381381
export { WeatherView, WeatherEdit };
382382
```
383383
384-
We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/config/blocks.ts`.
384+
We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/index.js`.
385385
For that we need the two blocks components we created and a SVG icon that will be displayed in the blocks chooser.
386386
387387
```ts

0 commit comments

Comments
 (0)