Unverified Commit 058f6f1c authored by xixinRunBoy's avatar xixinRunBoy Committed by GitHub

active-class-name example style js has not taken effect (#56136)

example/active-class-name: the Nav.tsx's style has not taken effect
change <style jsx> to <style jsx global>

Co-authored-by: chenxixin <chenxixin>
parent 5998e6a8
......@@ -2,7 +2,7 @@ import ActiveLink from './ActiveLink'
const Nav = () => (
<nav>
<style jsx>{`
<style jsx global>{`
.nav-link {
text-decoration: none;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment