From b379d34bb900b36204a58b2fe59212296ea97fe2 Mon Sep 17 00:00:00 2001 From: Arindam Lahiri Date: Sun, 18 Sep 2022 16:14:34 +0530 Subject: [PATCH] add default value to external prop --- src/components/link/Link.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/link/Link.jsx b/src/components/link/Link.jsx index a5f7c37..3efc0aa 100644 --- a/src/components/link/Link.jsx +++ b/src/components/link/Link.jsx @@ -2,7 +2,7 @@ import React from "react"; import "./Link.scss"; -const Link = ({ title, url, external, children }) => ( +const Link = ({ title, url, external = true, children }) => ( // eslint-disable-next-line react/jsx-no-target-blank