MCPcopy Create free account
hub / github.com/dailydotdev/apps / onCreate

Function onCreate

packages/shared/src/components/shell/ShellCluster.tsx:454–461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452 };
453
454 const onCreate = () => {
455 if (!user) {
456 showLogin({ trigger: AuthTriggers.CreatePost });
457 return;
458 }
459
460 openModal({ type: LazyModal.SmartComposer, props: {} });
461 };
462
463 if (hidden) {
464 return null;

Callers 1

onSubmitFunction · 0.85

Calls 1

openModalFunction · 0.85

Tested by

no test coverage detected