Even with this error, the referral link is correctly display.
I think the creation of the invitation is done twice, once server-side, and one client side.
We should deactivate this invitation creation from the SSR as the component is already doing a client side fetch of this invitation
SSR is not the reason for the error, as useEffect are not executed in the SSR, we do have this useEffect call twice, which seems to be related to the signer that is recreated even if the payload is the same
When navigating to my profile page (eg: https://localhost:3000/users/0x5e7760acf5d659278747b95da2ab2b5ea7171615) on a platform with the referral option activated, I get the following error the first time I load this page on fresh database:
Even with this error, the referral link is correctly display.
I think the creation of the invitation is done twice, once server-side, and one client side. We should deactivate this invitation creation from the SSR as the component is already doing a client side fetch of this invitation