this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable boosts carousel for public timelines too

+4
+4
src/pages/public.jsx
··· 1 1 import { Menu, MenuDivider, MenuItem } from '@szhsin/react-menu'; 2 2 import { useRef } from 'preact/hooks'; 3 3 import { useNavigate, useParams } from 'react-router-dom'; 4 + import { useSnapshot } from 'valtio'; 4 5 5 6 import Icon from '../components/icon'; 6 7 import Timeline from '../components/timeline'; 7 8 import { api } from '../utils/api'; 9 + import states from '../utils/states'; 8 10 import useTitle from '../utils/useTitle'; 9 11 10 12 const LIMIT = 20; 11 13 12 14 function Public({ local, ...props }) { 15 + const snapStates = useSnapshot(states); 13 16 const isLocal = !!local; 14 17 const params = useParams(); 15 18 const { masto, instance } = api({ ··· 74 77 fetchItems={fetchPublic} 75 78 checkForUpdates={checkForUpdates} 76 79 headerStart={<></>} 80 + boostsCarousel={snapStates.settings.boostsCarousel} 77 81 headerEnd={ 78 82 <Menu 79 83 portal={{