fix: fix audio permission issue on safari (#26)

* fix: fix audio permission issue on safari

* fix: fix service key creation in oss mode

* fix: fix hydration error for usage page
This commit is contained in:
Abhishek 2025-10-07 16:44:45 +05:30 committed by GitHub
parent a2d02d8326
commit e9c0afd517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 90 additions and 71 deletions

View file

@ -9,6 +9,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Switch } from "@/components/ui/switch";
import { Textarea } from "@/components/ui/textarea";
import { isOSSMode } from "@/lib/utils";
import { NodeContent } from "./common/NodeContent";
import { NodeEditDialog } from "./common/NodeEditDialog";
@ -170,8 +171,6 @@ const StartCallEditForm = ({
delayedStartDuration,
setDelayedStartDuration
}: StartCallEditFormProps) => {
const isOSS = process.env.NEXT_PUBLIC_DEPLOYMENT_MODE === 'oss';
return (
<div className="grid gap-2">
<Label>Name</Label>
@ -241,7 +240,7 @@ const StartCallEditForm = ({
</Label>
</div>
</div>
{!isOSS && (
{!isOSSMode() && (
<div className="flex items-center space-x-2">
<Switch
id="detect-voicemail"