diff --git a/content/react/en/simple-component.md b/content/react/en/simple-component.md index d34c50715..be7206119 100644 --- a/content/react/en/simple-component.md +++ b/content/react/en/simple-component.md @@ -131,6 +131,8 @@ Now we have Storybook setup, styles imported, and test cases built out, we can q The component is still basic at the moment. First write the code that achieves the design without going into too much detail: ```javascript +// src/components/Task.js + import React from 'react'; export default function Task({ task: { id, title, state }, onArchiveTask, onPinTask }) {