https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/PredyPool.sol#L199-L213
This function is used to withdraw the accumulated creator revenue.
and only the pool owner is expected to have access to this function. The problem, however, is that this function erroneously checks that amount is > 0 twice.
Bade code writing, hints potential error in code.
Change to considering the first requirement already ensured the amount != 0
