From 569bdb8c5d7538fa0ea8a99ff2f8376f7cbfa51a Mon Sep 17 00:00:00 2001 From: piotrruss Date: Mon, 6 Sep 2021 23:13:22 +0200 Subject: added stadard linter --- components/Popup.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'components/Popup.js') diff --git a/components/Popup.js b/components/Popup.js index 3df11c5..3e5ab1f 100644 --- a/components/Popup.js +++ b/components/Popup.js @@ -2,17 +2,17 @@ import React from 'react' import usePopup from 'hooks/usePopup' const Popup = () => { - const {popupData: p} = usePopup() + const { popupData: p } = usePopup() if (!p || !p.content) return null return (
-
{p.content}
+
{p.content}
{ (p.yes || p.no) && ( -
- {[p.no, p.yes].map(a => a && a.action()} value={a.label} />)} +
+ {[p.no, p.yes].map(a => a && a.action()} value={a.label} />)}
) } @@ -21,4 +21,3 @@ const Popup = () => { } export default Popup - -- cgit v1.2.3