From 78fef16a98cdd7d76b24fb26d37117bef9f254dc Mon Sep 17 00:00:00 2001 From: flarum-bot Date: Mon, 20 May 2024 21:56:00 +0200 Subject: [PATCH] style: reformat addManagePoliciesOption.js --- js/src/forum/components/addManagePoliciesOption.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/js/src/forum/components/addManagePoliciesOption.js b/js/src/forum/components/addManagePoliciesOption.js index 4dcd9c9..27ea03e 100644 --- a/js/src/forum/components/addManagePoliciesOption.js +++ b/js/src/forum/components/addManagePoliciesOption.js @@ -34,10 +34,15 @@ export default function () { await updatePolicy(policy, value); m.redraw(); }} - > { policy.url() ? - {policy.name()} - : policy.name() - } + > + {' '} + {policy.url() ? ( + + {policy.name()} + + ) : ( + policy.name() + )} );