diff --git a/guides/release/tutorial/part-1/interactive-components.md b/guides/release/tutorial/part-1/interactive-components.md index 14c5467694..92a1853ab9 100644 --- a/guides/release/tutorial/part-1/interactive-components.md +++ b/guides/release/tutorial/part-1/interactive-components.md @@ -226,11 +226,10 @@ Finally, we added the `@action` decorator to our method. This indicates to Ember With that, it's time to wire this up in the template section: -```gjs { data-filename="app/components/rental/image.gjs" data-diff="+4,-15,+16,-19,+20,-22,+23,-26,+27" } +```gjs { data-filename="app/components/rental/image.gjs" data-diff="-14,+15,-18,+19,-21,+22,-25,+26" } import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; -import { on } from '@ember/modifier'; export default class RentalImage extends Component { @tracked isLarge = false; @@ -263,7 +262,7 @@ We changed two things here. First, since we wanted to make our component interactive, we switched the containing tag from `
` to `