Skip to content

Commit 6027279

Browse files
authored
fix: typo in context name FootContext -> FooterContext (#135)
* fix: update title in README to reflect React Performance title * fix: typo in context name FootContext -> FooterContext
1 parent 7262ded commit 6027279

File tree

1 file changed

+1
-1
lines changed
  • exercises/02.context/02.problem.provider-component

1 file changed

+1
-1
lines changed

exercises/02.context/02.problem.provider-component/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const FooterContext = createContext<{
1010

1111
// 🐨 create a FooterProvider component here and move the color and name state
1212
// and context value to this component.
13-
// 💰 Make sure to accept a children prop and render the FootContext with it
13+
// 💰 Make sure to accept a children prop and render the FooterContext with it
1414

1515
function useFooter() {
1616
const context = use(FooterContext)

0 commit comments

Comments
 (0)