diff --git a/src/components/_services/lightquark/nav/LightquarkChannel.jsx b/src/components/_services/lightquark/nav/LightquarkChannel.jsx index afbcf59..335ac13 100644 --- a/src/components/_services/lightquark/nav/LightquarkChannel.jsx +++ b/src/components/_services/lightquark/nav/LightquarkChannel.jsx @@ -4,11 +4,11 @@ import styles from "./LightquarkChannel.module.css"; import {AppContext} from "../../../../contexts/AppContext.js"; import {useContext} from "react"; -export default function LightquarkChannel({channel, quarkId}) { +export default function LightquarkChannel({demo, channel, quarkId}) { const appContext = useContext(AppContext); const {dialogId} = useParams(); - return new Audio(appContext.nyafile.getCachedData("sfx/default-hover")).play()} onClick={() => new Audio(appContext.nyafile.getCachedData("sfx/default-select")).play()}> diff --git a/src/components/_services/lightquark/nav/LightquarkChannelList.jsx b/src/components/_services/lightquark/nav/LightquarkChannelList.jsx index ec1de58..e60147d 100644 --- a/src/components/_services/lightquark/nav/LightquarkChannelList.jsx +++ b/src/components/_services/lightquark/nav/LightquarkChannelList.jsx @@ -5,8 +5,8 @@ import LightquarkChannel from "./LightquarkChannel.jsx"; import styles from "./LightquarkChannelList.module.css"; import {AppContext} from "../../../../contexts/AppContext.js"; -export default function LightquarkChannelList({quark}) { +export default function LightquarkChannelList({quark, demo}) { return