Skip to content

Commit

Permalink
feat: make research comments available to all users
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Apr 3, 2022
1 parent 8fc384b commit 87d3f1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/Research/Content/ResearchUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { IResearch } from 'src/models/research.models'
import { IUploadedFileMeta } from 'src/stores/storage'
import { ResearchComments } from './ResearchComments/ResearchComments'
import styled from '@emotion/styled'
import { AuthWrapper } from 'src/components/Auth/AuthWrapper'

interface IProps {
update: IResearch.UpdateDB
Expand Down Expand Up @@ -134,9 +133,7 @@ const ResearchUpdate: React.FC<IProps> = ({
<ImageGallery images={update.images as IUploadedFileMeta[]} />
)}
</Box>
<AuthWrapper roleRequired="beta-tester">
<ResearchComments update={update} comments={update.comments} />
</AuthWrapper>
<ResearchComments update={update} comments={update.comments} />
</Flex>
</Flex>
</>
Expand Down

0 comments on commit 87d3f1b

Please sign in to comment.