feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@@ -19,7 +19,7 @@ const ColHeader = ({ children, ...other }) => (
|
||||
ColHeader.propTypes = propTypes;
|
||||
|
||||
const Link = ({ children, to, external, ...other }) => {
|
||||
if (!external && (/^\/(?!\/)/).test(to)) {
|
||||
if (!external && /^\/(?!\/)/.test(to)) {
|
||||
return (
|
||||
<GatsbyLink to={to} {...other}>
|
||||
{children}
|
||||
|
Reference in New Issue
Block a user