Skip to content

Commit

Permalink
refactor: split cart client component
Browse files Browse the repository at this point in the history
  • Loading branch information
apledger committed Jan 16, 2025
1 parent 43fe5df commit 11ea0de
Show file tree
Hide file tree
Showing 11 changed files with 351 additions and 341 deletions.
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/pages/cart/electric.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/pages/cart/luxury.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/pages/cart/warm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/sections/cart/electric.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/sections/cart/luxury.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vibes/soul/examples/sections/cart/warm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Preview() {
() =>
res({
lineItems,
summaryLineItems: [
summaryItems: [
{ label: 'Subtotal', value: '$100' },
{ label: 'Shipping', value: 'TBD' },
{ label: 'Tax', value: 'TBD' },
Expand Down
Loading

0 comments on commit 11ea0de

Please sign in to comment.