MCPcopy
hub / github.com/Musish/Musish / useModal

Function useModal

src/app/components/Providers/ModalProvider.tsx:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58export function useModal(): ModalProviderValue {
59 return useContext(ModalContext) as ModalProviderValue;
60}
61
62export function ModalRenderer() {
63 const { queue, pop } = useModal();

Callers 8

AlbumItemFunction · 0.90
AlbumResultItemFunction · 0.90
PlaylistResultItemFunction · 0.90
PlaylistItemFunction · 0.90
TrackContextMenuFunction · 0.90
AlbumContextMenuFunction · 0.90
PlaylistContextMenuFunction · 0.90
ModalRendererFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected