From ed1cb4e7135cd073c41e2b15cf47417713b6d061 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 28 Jun 2021 22:26:57 -0500 Subject: [PATCH] lint-fix --- examples/with-stripe-typescript/components/ElementsForm.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/with-stripe-typescript/components/ElementsForm.tsx b/examples/with-stripe-typescript/components/ElementsForm.tsx index fa521888ea3f1..d438cc830f321 100644 --- a/examples/with-stripe-typescript/components/ElementsForm.tsx +++ b/examples/with-stripe-typescript/components/ElementsForm.tsx @@ -148,7 +148,9 @@ const ElementsForm = () => { onChange={(e) => { if (e.error) { setPayment({ status: 'error' }) - setErrorMessage(e.error.message ?? 'An unknown error occurred') + setErrorMessage( + e.error.message ?? 'An unknown error occurred' + ) } }} />