mirror of
https://github.com/EdiFarcas/Giveaway-app.git
synced 2026-06-22 07:00:57 +03:00
Update coins from video url, full integrated
This commit is contained in:
@@ -9,7 +9,7 @@ interface AdminClientProps {
|
|||||||
|
|
||||||
export default function AdminClient({ email }: AdminClientProps) {
|
export default function AdminClient({ email }: AdminClientProps) {
|
||||||
const [giveaway, setGiveaway] = useState({ title: "", description: "", value: 0, prize: "", duration: 0, endsAt: 0 });
|
const [giveaway, setGiveaway] = useState({ title: "", description: "", value: 0, prize: "", duration: 0, endsAt: 0 });
|
||||||
const [youtube_url, setYoutubeUrl] = useState("https://www.youtube.com/watch?v=48oDy9Ni1TA&ab_channel=TCGLove");
|
const [youtube_url, setYoutubeUrl] = useState("");
|
||||||
const [coin_value, setCoinValue] = useState(0);
|
const [coin_value, setCoinValue] = useState(0);
|
||||||
|
|
||||||
const handleCreateGiveaway = async () => {
|
const handleCreateGiveaway = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user