about summary refs log tree commit diff
path: root/src/components/moderation
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-06-23 17:44:40 +0300
committerGitHub <noreply@github.com>2025-06-23 07:44:40 -0700
commitc634cd9071305239f8c7d6acf371aca397f2bf2b (patch)
tree6df1efe8fc7d01b2bca9d325c4971a03534e361e /src/components/moderation
parent3c92714e4e898ffabd714092f4d9c88eddf8429c (diff)
downloadvoidsky-c634cd9071305239f8c7d6acf371aca397f2bf2b.tar.zst
Upgrade prettier to 3.6 (#8558)
* upgrade prettier

* run prettier

* more files
Diffstat (limited to 'src/components/moderation')
-rw-r--r--src/components/moderation/ContentHider.tsx8
-rw-r--r--src/components/moderation/ReportDialog/index.tsx12
2 files changed, 10 insertions, 10 deletions
diff --git a/src/components/moderation/ContentHider.tsx b/src/components/moderation/ContentHider.tsx
index d3f74c0c5..9e94a413c 100644
--- a/src/components/moderation/ContentHider.tsx
+++ b/src/components/moderation/ContentHider.tsx
@@ -1,6 +1,6 @@
 import React from 'react'
-import {StyleProp, View, ViewStyle} from 'react-native'
-import {ModerationUI} from '@atproto/api'
+import {type StyleProp, View, type ViewStyle} from 'react-native'
+import {type ModerationUI} from '@atproto/api'
 import {msg, Trans} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 
@@ -148,8 +148,8 @@ function ContentHiderActive({
           modui.noOverride
             ? _(msg`Learn more about the moderation applied to this content`)
             : override
-            ? _(msg`Hides the content`)
-            : _(msg`Shows the content`)
+              ? _(msg`Hides the content`)
+              : _(msg`Shows the content`)
         }>
         {state => (
           <View
diff --git a/src/components/moderation/ReportDialog/index.tsx b/src/components/moderation/ReportDialog/index.tsx
index acab1d21f..797ff533f 100644
--- a/src/components/moderation/ReportDialog/index.tsx
+++ b/src/components/moderation/ReportDialog/index.tsx
@@ -512,13 +512,13 @@ function StepTitle({
             backgroundColor: active
               ? t.palette.primary_500
               : completed
-              ? t.palette.primary_100
-              : t.atoms.bg_contrast_25.backgroundColor,
+                ? t.palette.primary_100
+                : t.atoms.bg_contrast_25.backgroundColor,
             borderColor: active
               ? t.palette.primary_500
               : completed
-              ? t.palette.primary_400
-              : t.atoms.border_contrast_low.borderColor,
+                ? t.palette.primary_400
+                : t.atoms.border_contrast_low.borderColor,
           },
         ]}>
         {completed ? (
@@ -533,8 +533,8 @@ function StepTitle({
                 color: active
                   ? 'white'
                   : completed
-                  ? t.palette.primary_700
-                  : t.atoms.text_contrast_medium.color,
+                    ? t.palette.primary_700
+                    : t.atoms.text_contrast_medium.color,
                 fontVariant: ['tabular-nums'],
                 width: 24,
                 height: 24,