From 22fc17c66c479b1b4e73519f9477fe9701c03dec Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Fri, 21 May 2021 14:46:39 +0300 Subject: [PATCH] wrapping asset in permission component --- src/pages/asset/index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/asset/index.tsx b/src/pages/asset/index.tsx index 61d335698..025602a3c 100644 --- a/src/pages/asset/index.tsx +++ b/src/pages/asset/index.tsx @@ -1,4 +1,5 @@ import React, { ReactElement, useEffect, useState } from 'react' +import Permission from '../../components/organisms/Permission' import { PageProps } from 'gatsby' import PageTemplateAssetDetails from '../../components/templates/PageAssetDetails' import AssetProvider from '../../providers/Asset' @@ -11,8 +12,10 @@ export default function PageGatsbyAssetDetails(props: PageProps): ReactElement { }, [props.location.pathname]) return ( - - - + + + + + ) }