California has banned non competes since 1872. You might be thinking about non solicits which was 2024 also reaffirming the ban on non competes