update to agility/next

This commit is contained in:
Joel Varty
2021-06-09 23:17:19 -04:00
parent 17f458b45b
commit e836a5950f
26 changed files with 26612 additions and 6639 deletions

View File

@@ -2,6 +2,7 @@ import React, { FC } from 'react'
import useCustomer from '@framework/use-customer'
import { Container, Text } from '@components/ui'
import { Module } from '@agility/nextjs'
interface Fields {
heading: string,
@@ -10,11 +11,8 @@ interface Fields {
notLoggedInMessage: string
}
interface Props {
fields: Fields
}
const ProfileModule:FC<Props> = ({fields}) => {
const ProfileModule:Module<Fields> = ({ module: {fields}}) => {
const { data } = useCustomer()
return (