Skip to content

Commit

Permalink
refactor: use correct link for private events
Browse files Browse the repository at this point in the history
  • Loading branch information
mbappai committed Sep 21, 2023
1 parent 600383d commit 25bfb8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/organizations/events/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ function gotoEventPage(event:Event){
},
{
title: 'Type',
dataIndex: 'eventType',
key: 'eventType',
dataIndex: 'type',
key: 'type',
width:'100px',
render: (type)=>(
<Tag style={{textTransform:'capitalize'}}>{type}</Tag>
Expand Down Expand Up @@ -451,10 +451,10 @@ const{isLoading:isDeletingItem} = deleteData
function copyLink(selectedRecord:any){
navigator.clipboard.writeText('')
const eventId = selectedRecord.id
const marketplaceLink = `https://marketplace.dev.flexable.com/events/${eventId}`
const marketplaceLink = `https://marketplace.dev.flexabledats.com/events/${eventId}`
// const marketplaceLink = `http://localhost:3002/events/${eventId}`
// Copy the text inside the text field
navigator.clipboard.writeText(marketplaceLink);
console.log(selectedRecord)
}


Expand Down

0 comments on commit 25bfb8c

Please sign in to comment.