feat: default to enable ai filting
This commit is contained in:
parent
838843fd86
commit
60924aabec
|
|
@ -147,10 +147,10 @@ export const MainFeed: React.FC<{
|
|||
|
||||
const hasFiltering = type === "latest"
|
||||
|
||||
const [aiFiltering, setAiFiltering] = useState(false)
|
||||
const [aiFiltering, setAiFiltering] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
setAiFiltering(getStorage("ai_filtering")?.enabled || false)
|
||||
setAiFiltering(getStorage("ai_filtering")?.enabled || true)
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -36,16 +36,12 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
|||
}
|
||||
|
||||
function Activities() {
|
||||
const userSite = useAccountSites()
|
||||
|
||||
const currentCharacterId = useAccountState(
|
||||
(s) => s.computed.account?.characterId,
|
||||
)
|
||||
const connectModal = useConnectModal()
|
||||
|
||||
const [feedType, setFeedType] = useState<"latest" | "following">(
|
||||
userSite.data?.length ? "following" : "latest",
|
||||
)
|
||||
const [feedType, setFeedType] = useState<"latest" | "following">("latest")
|
||||
const tabs = [
|
||||
{
|
||||
text: "Latest",
|
||||
|
|
|
|||
Loading…
Reference in New Issue