Fix slow Hosting Provider dialog (#7594)

* avoid portal perf pitfall

* add dep array
This commit is contained in:
Samuel Newman
2025-02-03 14:50:21 -08:00
committed by GitHub
parent 24a4ab2b0f
commit 083a5c9667
2 changed files with 197 additions and 162 deletions
+2 -2
View File
@@ -71,10 +71,10 @@ export function HostingProvider({
a.flex_row,
a.align_center,
a.rounded_sm,
a.px_md,
a.pl_md,
a.pr_sm,
a.gap_xs,
{paddingVertical: isAndroid ? 14 : 9},
{paddingVertical: isAndroid ? 14 : 8},
]}
onPress={onPressSelectService}>
{({hovered, pressed}) => {