Update to react 19 and latest version of clerk
npm install --save-exact react@^19.0.0 react-dom@^19.0.0 --legacy-peer-deps