fix(profile): make useProfileEdit safe outside ProfileEditProvider (#318)
IdentityCard is used on events, embed, and homepage pages that don't
have a ProfileEditProvider. The hook now returns safe defaults (non-owner,
no preview) instead of throwing, fixing the Docker build failure.
authored by