layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Learn-Components] Remove extra closing brace in ChapterStyle component styling

Open ayushbuilds-code opened this issue 2 weeks ago • 0 comments

Description

In src/components/Learn-Components/Chapters-Style/chapters.style.js, there is a stray closing brace } at line 19 after the a anchor selector block:

  a {
    &:hover {
      color: ${(props) => props.theme.primaryColor};
    }
  }
  }

This causes an unbalanced brace count (11 opening vs 12 closing braces), prematurely terminating the styled component block and leaving subsequent CSS rules (.image-design-icons and .chapter-image) malformed.

Expected Behavior

CSS rules inside ChapterStyle should have properly balanced braces (11 open, 11 close) so that subsequent rules apply as intended.

Actual Behavior

Stray closing brace on line 19 causes unbalanced CSS block.

Proposed Fix

Remove the redundant closing brace } on line 19.

ayushbuilds-code avatar Nov 18 '26 06:11 ayushbuilds-code