MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / openMarketDialog

Function openMarketDialog

frontend/src/components/fc/index.ts:265–276  ·  view source on GitHub ↗
(
  daemonId?: string,
  instanceId?: string,
  options: OpenMarketDialogProps = {}
)

Source from the content-addressed store, hash-verified

263}
264
265export async function openMarketDialog(
266 daemonId?: string,
267 instanceId?: string,
268 options: OpenMarketDialogProps = {}
269) {
270 const dialog = useMountComponent({
271 daemonId,
272 instanceId,
273 ...options
274 }).load<InstanceType<typeof MarketDialog>>(MarketDialog);
275 return dialog!.openDialog();
276}
277
278export async function useAddJavaDialog() {
279 return (await useMountComponent().mount<AddJavaConfigItem>(AddJavaDialog)) || undefined;

Callers 1

handler.tsFile · 0.90

Calls 2

useMountComponentFunction · 0.90
loadMethod · 0.65

Tested by

no test coverage detected