diff --git a/questions/what-is-a-closure-and-how-why-would-you-use-one/en-US.mdx b/questions/what-is-a-closure-and-how-why-would-you-use-one/en-US.mdx index 420bcc4..47824d6 100644 --- a/questions/what-is-a-closure-and-how-why-would-you-use-one/en-US.mdx +++ b/questions/what-is-a-closure-and-how-why-would-you-use-one/en-US.mdx @@ -65,7 +65,7 @@ console.log(counter()); // Outputs: 2 ## Closures in React -Closures are everywhere. Below code shows a simple example of increasing a counter on a button click. In this code, `handleClick` forms a closure. It has access to it's outer scope variable `count` and `setCount` +Closures are everywhere. Below code shows a simple example of increasing a counter on a button click. In this code, `handleClick` forms a closure. It has access to its outer scope variable `count` and `setCount`. ```jsx import React, { useState } from 'react';