Ali
Ali
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Ali on 6/29/2024 in #questions
What is your take on the headline of this UI library
How about "Rich styled UI components"?
6 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
yeah, read the chats above
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 11/17/2023 in #questions
Audio ist not working on mobile
Here is the code
export const Audio = ({
isLoadingAudio,
playAudio,
audioURL,
audioRef,
}: AudioProp) => {
return (
<>
<ActionIcon
onClick={() => playAudio()}
slot="audio"
>
{isLoadingAudio ? (
<Loader />
) : (
<HiSpeakerWave />
)}
</ActionIcon>
{audioURL && (
<audio
ref={audioRef as React.RefObject<HTMLAudioElement>}
src={audioURL}
></audio>
)}
</>
);
}
export const Audio = ({
isLoadingAudio,
playAudio,
audioURL,
audioRef,
}: AudioProp) => {
return (
<>
<ActionIcon
onClick={() => playAudio()}
slot="audio"
>
{isLoadingAudio ? (
<Loader />
) : (
<HiSpeakerWave />
)}
</ActionIcon>
{audioURL && (
<audio
ref={audioRef as React.RefObject<HTMLAudioElement>}
src={audioURL}
></audio>
)}
</>
);
}
7 replies
TTCTheo's Typesafe Cult
Created by Ali on 11/17/2023 in #questions
Audio ist not working on mobile
I use iPhone 13, and the web browsers I tried were Brave, Firefox Klar and Safari.
7 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
for edge runtime it is ({req})
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
it should be (req, res) and not ({req,res})
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
well, it was a stupid mistake
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
the only way it works is when I make a req on runtime
js
export const config = {
runtime: 'edge',
};
js
export const config = {
runtime: 'edge',
};
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 5/29/2023 in #questions
TypeError: Cannot read properties of undefined (reading 'status')
no, api/query/[userId] It is correct. It drives me crazy I wasted several hours on it. and still can't make a simple request!
13 replies
TTCTheo's Typesafe Cult
Created by Ali on 4/26/2023 in #questions
invalid environment variables
.env @Oskar Puchalski
6 replies
TTCTheo's Typesafe Cult
Created by Ali on 1/15/2023 in #questions
Type error with Zod
silly mistake!
3 replies