layer5
layer5 copied to clipboard
[UI][SMI-Table] Remove extra closing brace in TableWrapper styling
Description
In src/components/SMI-Table/SMITable.style.js, an extra closing brace exists at line 94:
td:hover{
box-shadow: 0px 0px 15px -10px ${props => props.theme.whiteToBlack};
transform: translateY(0px);
}
}
}
`;
- Line 89 opens
td:hover { - Line 92 closes
td:hover - Line 93 closes
table(opened at line 32) - Line 94 contains an extra closing brace
}with no corresponding opening brace (braces are unbalanced at 19 open vs 20 close).
This unmatched closing brace prematurely closes the styled-components CSS block, resulting in malformed CSS.
Expected Behaviour
The extra closing brace should be removed so that braces in SMITable.style.js are properly balanced (19/19).
Suggested Fix
Remove the redundant closing brace } at line 94 in src/components/SMI-Table/SMITable.style.js.