feat: enhance newsletter component with customizable properties and add search/filter adj dashboard
This commit is contained in:
@@ -44,7 +44,7 @@ export const SubscriptionsPage = () => {
|
||||
},
|
||||
]
|
||||
|
||||
const switchViee = () => {
|
||||
const switchView = () => {
|
||||
setSubscribtionOpen(!SubscribtionOpen)
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ export const SubscriptionsPage = () => {
|
||||
<TitleDashboard title="Subscription" />
|
||||
<Button
|
||||
className="float-right mt-7 h-10 w-[160px] rounded-md"
|
||||
onClick={switchViee}
|
||||
onClick={switchView}
|
||||
>
|
||||
{SubscribtionOpen ? 'Subscriptions' : 'Save'}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user