Skip to content

Commit 2bad04f

Browse files
replaced var with let
1 parent adf7836 commit 2bad04f

File tree

1 file changed

+1
-1
lines changed
  • docs/src/components/HomepageFeatures

1 file changed

+1
-1
lines changed

docs/src/components/HomepageFeatures/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const FeatureList: FeatureItem[] = [
4242
]
4343

4444
function Feature({ title, Svg, description }: FeatureItem) {
45-
var classVar = styles.featureSvg;
45+
let classVar = styles.featureSvg;
4646
if(Svg === require('@site/static/img/github.svg').default)
4747
{
4848
classVar = styles.featureSvg +" "+ styles.githubLogo;

0 commit comments

Comments
 (0)