The code disappeared when i clicked to revert the code changes to the previous prompt.
I was doing something, and I applied the code. The change seemed bad to me, so I clicked the arrow button at the top of the message, which would revert the code before to that particular prompt. After I clicked, I lost all my code, and there was no code at all.