make cancelRef optional

This commit is contained in:
Samuel Newman
2024-04-17 00:06:47 +01:00
parent 68c1cf3c3d
commit cf175f5b11
+1 -1
View File
@@ -94,7 +94,7 @@ export const ComposePost = observer(function ComposePost({
imageUris: initImageUris, imageUris: initImageUris,
cancelRef, cancelRef,
}: Props & { }: Props & {
cancelRef: React.RefObject<CancelRef> cancelRef?: React.RefObject<CancelRef>
}) { }) {
const {currentAccount} = useSession() const {currentAccount} = useSession()
const {getAgent} = useAgent() const {getAgent} = useAgent()