0

It is showing an error over here in this line. I don't know what's wrong here.

<div className={StyleSheet.home}>
2
  • Can you paste the stylesheet import line used in your JS? Commented Dec 1, 2022 at 12:06
  • import Style from './NavBar.module.css';
    – Taha Ali
    Commented Dec 1, 2022 at 17:57

1 Answer 1

0

change this to styles

import styles from './NavBar.module.css';

and this to styes.home

<div className={styles.home}>

that should fix your error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.