Skip to content

Commit 27d7003

Browse files
authored
docs: cohort correct file path (#896)
1 parent c02ec15 commit 27d7003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/cohort.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In template you can use the default implementation of the cohort component by us
1616
```html
1717
{% load unfold %}
1818

19-
{% component "unfold/components/cohort.html" with component_class="MyCohortComponent" %}
19+
{% component "unfold/components/chart/cohort.html" with component_class="MyCohortComponent" %}
2020
{% endcomponent %}
2121
```
2222

@@ -25,7 +25,7 @@ If you don't want to use `component_class` parameter, you can prepare `data` in
2525
```html
2626
{% load unfold %}
2727

28-
{% component "unfold/components/cohort.html" with data=my_data_variable data=my_data %}
28+
{% component "unfold/components/chart/cohort.html" with data=my_data_variable data=my_data %}
2929
{% endcomponent %}
3030
```
3131

0 commit comments

Comments
 (0)