Skip to content

Commit

Permalink
created slug folder, and move relevant files to this folder
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Sep 17, 2024
1 parent 9fdc64d commit c2d2b40
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion studio/schemas/documents/redirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SanityDocument, SlugRule } from "@sanity/types";
import { pageBuilderID } from "../builders/pageBuilder";
import { blogId } from "./blog";
import { compensationsId } from "./compensations";
import PrefixedSlugInput from "../../components/PrefixedSlugInput";
import PrefixedSlugInput from "../../components/slug/PrefixedSlugInput";

const slugRequired = (rule: SlugRule) =>
rule.required().custom((value: Slug | undefined) => {
Expand Down

0 comments on commit c2d2b40

Please sign in to comment.