Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021222324
  1. import nookies from 'nookies';
  2. import ShippingContent from '../../components/shipping-content/ShippingContent';
  3. const ShippingPage = () => {
  4. return <ShippingContent></ShippingContent>;
  5. };
  6. export const getServerSideProps = async (ctx) => {
  7. const cookies = nookies.get(ctx);
  8. if (!cookies['shipping-session']) {
  9. return {
  10. redirect: {
  11. destination: '/cart',
  12. permanent: false,
  13. },
  14. };
  15. }
  16. return {
  17. props: {},
  18. };
  19. };
  20. export default ShippingPage;