Skip to content

Commit

Permalink
Merge pull request #3 from ehamiter/fix-component-typo
Browse files Browse the repository at this point in the history
Update `MyCompponent` to `MyComponent` in example code
  • Loading branch information
dylanjcastillo authored Feb 7, 2024
2 parents af1a607 + 1892a77 commit ebd0c6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ They're designed to be as simple as possible, so you can easily understand how t
from django.urls import path
from components.mycomponent import MyComponent
urlpatterns = [
path('mycomponent/', MyCompponent.as_view()),
path('mycomponent/', MyComponent.as_view()),
]
```
It will handle requests to `/components/mycomponent/` and render the component.
Expand Down
2 changes: 1 addition & 1 deletion src/staticfiles/index.330ffa9733ef.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2>How</h2>
from django.urls import path
from components.mycomponent import MyComponent
urlpatterns = [
path('mycomponent/', MyCompponent.as_view()),
path('mycomponent/', MyComponent.as_view()),
]
</code></pre>
It will handle requests to <code>/components/mycomponent/</code> and render the component.
Expand Down
2 changes: 1 addition & 1 deletion src/staticfiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2>How</h2>
from django.urls import path
from components.mycomponent import MyComponent
urlpatterns = [
path('mycomponent/', MyCompponent.as_view()),
path('mycomponent/', MyComponent.as_view()),
]
</code></pre>
It will handle requests to <code>/components/mycomponent/</code> and render the component.
Expand Down
2 changes: 1 addition & 1 deletion src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2>How</h2>
from django.urls import path
from components.mycomponent import MyComponent
urlpatterns = [
path('mycomponent/', MyCompponent.as_view()),
path('mycomponent/', MyComponent.as_view()),
]
</code></pre>
It will handle requests to <code>/components/mycomponent/</code> and render the component.
Expand Down

0 comments on commit ebd0c6c

Please sign in to comment.