mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-21 14:08:10 +02:00
fix
This commit is contained in:
1 parent
81baafd295
commit
77a6dd7188
6 files changed
+306
-5
No files matched your search
@@ -72,6 +72,9 @@ export default function NewReel() {
|
||||
const [isPlaying, setIsPlaying] = useState<string | null>(null);
|
||||
const [musicOffset, setMusicOffset] = useState(0);
|
||||
|
||||
// État caméra custom
|
||||
const [showCamera, setShowCamera] = useState(false);
|
||||
|
||||
// Récupérer les pages disponibles
|
||||
const { data: pages = [] } = useQuery<SocialPage[]>({
|
||||
queryKey: ['/api/pages'],
|
||||
@@ -420,7 +423,7 @@ export default function NewReel() {
|
||||
|
||||
<div className="flex gap-2 mb-4">
|
||||
<Button
|
||||
onClick={() => cameraInputRef.current?.click()}
|
||||
onClick={() => setShowCamera(true)}
|
||||
disabled={uploadMutation.isPending}
|
||||
variant="outline"
|
||||
className="lg:hidden"
|
||||
|
||||
Reference in new issue
Block a user