You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snippets like rfc, rcc, rafc and such returns <div></div> in a single line without braces like this:
export default function Content() {
return <div></div>
}
Is there any way to change it to this format?
export default function Content() {
return (
<div></div>
)
}
Also for some reason even if I enable prettier integration it won't work. For example if i disable semicolon in Prettier and keep the ES7 React semicolon enabled, the snippet will still have semicolon.
The text was updated successfully, but these errors were encountered:
Snippets like rfc, rcc, rafc and such returns <div></div> in a single line without braces like this:
export default function Content() {
return <div></div>
}
Is there any way to change it to this format?
export default function Content() {
return (
<div></div>
)
}
Also for some reason even if I enable prettier integration it won't work. For example if i disable semicolon in Prettier and keep the ES7 React semicolon enabled, the snippet will still have semicolon.
The text was updated successfully, but these errors were encountered: