about summary refs log tree commit diff
path: root/src/view/com/util/Alert.web.tsx
diff options
context:
space:
mode:
authorAnsh Nanda <anshnanda10@gmail.com>2023-08-25 14:53:03 -0700
committerAnsh Nanda <anshnanda10@gmail.com>2023-08-25 14:53:03 -0700
commit0ca28ccca65a764bf66238cd59df5f6dbb958d2b (patch)
treecd0f55a79d9b99657f1d1639029d0dbe66795d3e /src/view/com/util/Alert.web.tsx
parent08fe7fb08451d4d286f5013d9ad14b4e32afa50b (diff)
parenta3cb12f584f6d55a0754fd608fb00d9b7f29e807 (diff)
downloadvoidsky-0ca28ccca65a764bf66238cd59df5f6dbb958d2b.tar.zst
Merge branch 'main' into ansh/app-812-add-custom-feed-discovery-to-onboarding
Diffstat (limited to 'src/view/com/util/Alert.web.tsx')
-rw-r--r--src/view/com/util/Alert.web.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/util/Alert.web.tsx b/src/view/com/util/Alert.web.tsx
index 94ccc7e43..bf2456504 100644
--- a/src/view/com/util/Alert.web.tsx
+++ b/src/view/com/util/Alert.web.tsx
@@ -3,10 +3,12 @@ import {AlertButton, AlertStatic} from 'react-native'
 class WebAlert implements Pick<AlertStatic, 'alert'> {
   public alert(title: string, message?: string, buttons?: AlertButton[]): void {
     if (buttons === undefined || buttons.length === 0) {
+      // eslint-disable-next-line no-alert
       window.alert([title, message].filter(Boolean).join('\n'))
       return
     }
 
+    // eslint-disable-next-line no-alert
     const result = window.confirm([title, message].filter(Boolean).join('\n'))
 
     if (result === true) {