Skip to content

Commit

Permalink
fix: wording on TODOSliceComponent warning
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Aug 4, 2021
1 parent 00909d8 commit 8abfc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SliceZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const TODOSliceComponent = __PRODUCTION__
}: SliceComponentProps<TSlice, TContext>): JSX.Element | null => {
React.useEffect(() => {
console.warn(
`[SliceZone] Could not find a component Slice type "${slice.slice_type}"`,
`[SliceZone] Could not find a component for Slice type "${slice.slice_type}"`,
slice,
);
}, [slice]);
Expand Down

0 comments on commit 8abfc9a

Please sign in to comment.