Skip to content

Commit

Permalink
Fix the custom field example
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Aug 23, 2022
1 parent 7c71411 commit a0d1ada
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/custom-field/1-text-field/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function text<ListTypeInfo extends BaseListTypeInfo>({
return value;
},
}),
views: require.resolve('./views'),
views: require.resolve('./views.tsx'),
getAdminMeta() {
return {};
},
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-field/2-stars-field/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const stars =
return value;
},
}),
views: require.resolve('./views'),
views: require.resolve('./views.tsx'),
getAdminMeta() {
return { maxStars };
},
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-field/3-pair-field/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function pair<ListTypeInfo extends BaseListTypeInfo>({
return resolveOutput(value);
},
}),
views: require.resolve('./views'),
views: require.resolve('./views.tsx'),
getAdminMeta() {
return {};
},
Expand Down

0 comments on commit a0d1ada

Please sign in to comment.