From b6d7b8893344295dc784c343178cc090923f2a24 Mon Sep 17 00:00:00 2001 From: Dennis Beatty Date: Mon, 21 Oct 2019 22:34:24 -0600 Subject: [PATCH 1/2] make ordered list more consistent --- docs/tutorial/part-two/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/tutorial/part-two/index.md b/docs/tutorial/part-two/index.md index 439e51212509a..6d9d81def4e1f 100644 --- a/docs/tutorial/part-two/index.md +++ b/docs/tutorial/part-two/index.md @@ -254,9 +254,7 @@ The `console.log(styles)` code will log the resulting import so you can see the If you compare that to your CSS file, you'll see that each class is now a key in the imported object pointing to a long string e.g. `avatar` points to `src-pages----about-css-modules-module---avatar---2lRF7`. These are the class names CSS Modules generates. They're guaranteed to be unique across your site. And because you have to import them to use the classes, there's never any question about where some CSS is being used. -4. Create a `User` component. - -Create a new `` component inline in the `about-css-modules.js` page +4. Create a new `` component inline in the `about-css-modules.js` page component. Modify `about-css-modules.js` so it looks like the following: ```jsx:title=src/pages/about-css-modules.js From 3734fa0544253f8c22b35f787d5529b90a9edea0 Mon Sep 17 00:00:00 2001 From: gatsbybot Date: Tue, 22 Oct 2019 07:48:25 +0000 Subject: [PATCH 2/2] chore: format --- docs/tutorial/part-two/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/part-two/index.md b/docs/tutorial/part-two/index.md index 6d9d81def4e1f..ddf3936763b52 100644 --- a/docs/tutorial/part-two/index.md +++ b/docs/tutorial/part-two/index.md @@ -255,7 +255,7 @@ The `console.log(styles)` code will log the resulting import so you can see the If you compare that to your CSS file, you'll see that each class is now a key in the imported object pointing to a long string e.g. `avatar` points to `src-pages----about-css-modules-module---avatar---2lRF7`. These are the class names CSS Modules generates. They're guaranteed to be unique across your site. And because you have to import them to use the classes, there's never any question about where some CSS is being used. 4. Create a new `` component inline in the `about-css-modules.js` page -component. Modify `about-css-modules.js` so it looks like the following: + component. Modify `about-css-modules.js` so it looks like the following: ```jsx:title=src/pages/about-css-modules.js import React from "react"