import Area from '@components/common/Area.js'; import { Card, CardContent, CardHeader, CardTitle } from '@components/common/ui/Card.js'; import React from 'react'; interface CustomerNotesProps { order: { shippingNote: string; }; } export default function CustomerNotes({ order: { shippingNote } }: CustomerNotesProps) { return ( Customer notes (
{shippingNote || ( No notes from customer )}
) }, props: {}, sortOrder: 10, id: 'title' } ]} noOuter />
); } export const layout = { areaId: 'rightSide', sortOrder: 10 }; export const query = ` query Query { order(uuid: getContextValue("orderId")) { shippingNote } } `;