()
| 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; |
nothing calls this directly
no test coverage detected