mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
fix auth requirement for profile page
This commit is contained in:
parent
bf0febfaaa
commit
09aa1a4293
@ -6,6 +6,7 @@ import React, { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { cleanInput } from '../../components/clean.input'
|
||||
import Structure from '../../components/structure'
|
||||
import { withAuth } from '../../components/with.auth'
|
||||
import {
|
||||
ADMIN_PROFILE_UPDATE_MUTATION,
|
||||
AdminProfileUpdateMutationData,
|
||||
@ -151,4 +152,4 @@ const Profile: NextPage = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default Profile
|
||||
export default withAuth(Profile)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user