Skip to content

Commit

Permalink
Merge pull request #146 from iamibrahimriaz/hide-unlimited-section
Browse files Browse the repository at this point in the history
Unlimited Section Hide (Template Details) on Pre Release
  • Loading branch information
HeyMehedi authored Nov 5, 2024
2 parents 19c0d9e + a4d2de0 commit aa2738a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/js/modules/TemplateDetails/TemplateDetailsWidget.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import store from '@store/index';
import { select } from '@wordpress/data';
import { __ } from '@wordpress/i18n';
import ReactSVG from 'react-inlinesvg';
import { TemplateDetailsWidgetStyle } from './style';

import fireIcon from '@icon/fire.svg';
import { useState } from '@wordpress/element';

const TemplateDetailsWidget = ( props ) => {
Expand Down Expand Up @@ -43,7 +41,7 @@ const TemplateDetailsWidget = ( props ) => {

return (
<TemplateDetailsWidgetStyle className="templatiq__details__widget">
{ !hasAllAccess ? (
{/* { !hasAllAccess ? (
<div className="templatiq__details__widget__single templatiq__details__widget__subscribe">
<div className="templatiq__details__widget__subscribe__info">
<h3 className="templatiq__details__widget__subscribe__title">
Expand Down Expand Up @@ -71,7 +69,7 @@ const TemplateDetailsWidget = ( props ) => {
</div>
) : (
''
) }
) } */}

<div className="templatiq__details__widget__single templatiq__details__widget__quickinfo">
<div className="templatiq__details__widget__header">
Expand Down

0 comments on commit aa2738a

Please sign in to comment.