feat: minute adn logo
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
PageHeader,
|
||||
} from "@/components/ui";
|
||||
import { EditIcon, PlusIcon, TrashIcon } from "@/components/icons";
|
||||
import { formatDuration } from "@/lib/utils";
|
||||
import { formatMinutes } from "@/lib/utils";
|
||||
import { MediaPreview } from "@/components/MediaPreview";
|
||||
import { ImagePicker } from "@/components/ImagePicker";
|
||||
import { pickUrl, SOUND_KEYS, IMAGE_KEYS } from "@/lib/media";
|
||||
@@ -166,7 +166,7 @@ export default function MusicTracksPage() {
|
||||
{
|
||||
key: "duration",
|
||||
header: "مدت زمان",
|
||||
render: (r) => formatDuration(r.duration),
|
||||
render: (r) => formatMinutes(r.duration),
|
||||
},
|
||||
{
|
||||
key: "type",
|
||||
@@ -268,7 +268,7 @@ export default function MusicTracksPage() {
|
||||
</Select>
|
||||
</Field>
|
||||
|
||||
<Field label="مدت زمان (ثانیه)">
|
||||
<Field label="مدت زمان (دقیقه)">
|
||||
<Input
|
||||
type="number"
|
||||
value={duration}
|
||||
|
||||
Reference in New Issue
Block a user