fixed issue witn npmn

This commit is contained in:
RandyJC
2025-12-08 13:35:52 +01:00
parent 14ea9c75cd
commit 87e9864290
3 changed files with 4 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
"use client"
import { QuestionMedia } from "@rahoot/common/types/game"
import type { QuestionMedia as QuestionMediaType } from "@rahoot/common/types/game"
import clsx from "clsx"
import { useEffect, useMemo, useRef, useState } from "react"
@@ -80,7 +80,7 @@ const extractYoutubeId = (url: string) => {
}
type Props = {
media?: QuestionMedia
media?: QuestionMediaType
alt: string
onPlayChange?: (_playing: boolean) => void
}

View File

@@ -1,6 +1,6 @@
"use client"
import { QuestionMedia, QuizzWithId } from "@rahoot/common/types/game"
import type { QuestionMedia, QuizzWithId } from "@rahoot/common/types/game"
import Button from "@rahoot/web/components/Button"
import Input from "@rahoot/web/components/Input"
import { useEvent, useSocket } from "@rahoot/web/contexts/socketProvider"