Thanks @xarielah, I tested your approach and it worked perfectly. I've actually used this trick for other cases before too.
Here's how I added it in my file:
import React from 'react';
export const dynamic = 'force-dynamic';
export default function Page() {
return <></>;
}