This commit is contained in:
Eric Bailey
2024-12-17 20:49:58 -06:00
parent 5990468148
commit ad2ab9179a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export function TrendingInterstitial() {
export function Inner() { export function Inner() {
const t = useTheme() const t = useTheme()
const {_} = useLingui() const {_} = useLingui()
const gutters = useGutters(['base']) const gutters = useGutters(['wide', 'base'])
const trendingPrompt = Prompt.usePromptControl() const trendingPrompt = Prompt.usePromptControl()
const {setTrendingDisabled} = useTrendingSettingsApi() const {setTrendingDisabled} = useTrendingSettingsApi()
const {data: trending, error, isLoading} = useTrendingTopics() const {data: trending, error, isLoading} = useTrendingTopics()
@@ -73,7 +73,7 @@ export function Inner() {
</Button> </Button>
</View> </View>
<View style={[a.flex_row, a.flex_wrap, {gap: '8px 6px'}]}> <View style={[a.flex_row, a.flex_wrap, {rowGap: 8, columnGap: 6}]}>
{isLoading ? ( {isLoading ? (
Array(TRENDING_TOPICS_COUNT) Array(TRENDING_TOPICS_COUNT)
.fill(0) .fill(0)
@@ -69,7 +69,7 @@ function Inner() {
a.flex_row, a.flex_row,
a.justify_start, a.justify_start,
a.flex_wrap, a.flex_wrap,
{gap: '8px 6px'}, {rowGap: 8, columnGap: 6},
gutters, gutters,
]}> ]}>
{isLoading ? ( {isLoading ? (