Use demo seed in feed and social service
cgen-64605d90011643b9b4ca5a2d9fbb6c29
This commit is contained in:
parent
08da68486a
commit
9adbe5e6f6
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { aethexSocialService } from "@/lib/aethex-social-service";
|
||||||
import { communityService, realtimeService } from "@/lib/supabase-service";
|
import { communityService, realtimeService } from "@/lib/supabase-service";
|
||||||
import PostComposer from "@/components/social/PostComposer";
|
import PostComposer from "@/components/social/PostComposer";
|
||||||
import { useToast } from "@/hooks/use-toast";
|
import { useToast } from "@/hooks/use-toast";
|
||||||
|
import { ensureDemoSeed } from "@/lib/demo-feed";
|
||||||
import {
|
import {
|
||||||
Heart,
|
Heart,
|
||||||
MessageCircle,
|
MessageCircle,
|
||||||
|
|
@ -54,6 +55,7 @@ export default function Feed() {
|
||||||
const [muted, setMuted] = useState(true);
|
const [muted, setMuted] = useState(true);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
ensureDemoSeed();
|
||||||
if (!user) return;
|
if (!user) return;
|
||||||
const load = async () => {
|
const load = async () => {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue