Skip to content

Commit

Permalink
Fix broken terms of use link
Browse files Browse the repository at this point in the history
  • Loading branch information
Torantulino authored Oct 7, 2024
1 parent 61f1d0c commit 012fed2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autogpt_platform/frontend/src/app/marketplace/submit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const SubmitPage: React.FC = () => {
setSubmitError(null);

if (!data.agreeToTerms) {
throw new Error("You must agree to the terms of service");
throw new Error("You must agree to the terms of use");
}

try {
Expand Down Expand Up @@ -404,7 +404,7 @@ const SubmitPage: React.FC = () => {
<Controller
name="agreeToTerms"
control={control}
rules={{ required: "You must agree to the terms of service" }}
rules={{ required: "You must agree to the terms of use" }}
render={({ field }) => (
<div className="flex items-center space-x-2">
<Checkbox
Expand All @@ -417,8 +417,8 @@ const SubmitPage: React.FC = () => {
className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
>
I agree to the{" "}
<a href="/terms" className="text-blue-500 hover:underline">
terms of service
<a href="https://auto-gpt.notion.site/Terms-of-Use-11400ef5bece80d0b087d7831c5fd6bf" className="text-blue-500 hover:underline">
terms of use
</a>
</label>
</div>
Expand Down

0 comments on commit 012fed2

Please sign in to comment.