Skip to content

Commit

Permalink
fix: typo title structure slice
Browse files Browse the repository at this point in the history
  • Loading branch information
martinyonatann committed Oct 18, 2024
1 parent 8c04936 commit 3cfdffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TransformText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Heading: React.FC<TitleComponentProps> = ({ title, page }) => {
const part1 = parts.slice(0, 2).join(" "); // "Craft and Build"

const part2 = parts[2]; // "Creative"
const part3 = parts.slice(3, 5).join(" "); // "Things For Your"
const part3 = parts.slice(2, 4).join(" "); // "Things For Your"
const part4 = parts.slice(4, 8).join(" "); // "Purpose"

return (
Expand Down

0 comments on commit 3cfdffc

Please sign in to comment.