From d492cd1b20cd7aec01d6e1a1231d6bf0742b5f11 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 19 Feb 2024 18:46:16 -0500 Subject: [PATCH] refactor: ran prettier:write --- apps/contracts/README.md | 2 +- apps/dashboard/src/utils/createAlert.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/contracts/README.md b/apps/contracts/README.md index 1ee04425..c9f9bb70 120000 --- a/apps/contracts/README.md +++ b/apps/contracts/README.md @@ -1 +1 @@ -contracts/README.md \ No newline at end of file +contracts/README.md diff --git a/apps/dashboard/src/utils/createAlert.ts b/apps/dashboard/src/utils/createAlert.ts index b4d063d6..90c7f9ce 100644 --- a/apps/dashboard/src/utils/createAlert.ts +++ b/apps/dashboard/src/utils/createAlert.ts @@ -1,7 +1,7 @@ export default function createAlert(message: string) { - if (message){ - alert(message); - }else{ - alert("Some error occurred!"); + if (message) { + alert(message) + } else { + alert("Some error occurred!") } }