This is code generated from Quiver. Overleaf doesn't like the curve
command for some reason. It gives the error message in the title.
\begin{tikzcd}
&& {(AB)C} \\
& {A(BC)} \\
AB && {(AB)C}
\arrow["{h_2}"', dashed, from=1-3, to=2-2]
\arrow["{f_1}"', from=2-2, to=3-1]
\arrow["h", from=1-3, to=3-3]
\arrow["{f_1 \circ h_2}"', curve={height=30pt}, from=1-3, to=3-1]
\arrow["{p_{AB}}", from=3-3, to=3-1]
\end{tikzcd}
It shows up fine on Quiver
But looks like this when I put it in Overleaf