property UsePlaylistResult.deletePlaylist

Leaves for home once the playlist is deleted, or sets actionError.

Type

() => Promise<void>

Usage

import { type UsePlaylistResult } from "src/hooks/playlist/usePlaylist.ts";