Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 9a3b4464
authored
10 months ago
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://git.logicloop.io/jaymehta/zango-frontend
2 parents
ae85b911
5edbda38
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
components/detail/ShareWidget.js
components/detail/ShareWidget.js
View file @
9a3b446
...
@@ -20,8 +20,8 @@ const ShareWidget = () => {
...
@@ -20,8 +20,8 @@ const ShareWidget = () => {
const
[
copy
,
setcopy
]
=
useState
({
copied
:
false
});
const
[
copy
,
setcopy
]
=
useState
({
copied
:
false
});
const
router
=
useRouter
();
const
router
=
useRouter
();
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
`
${
process
.
env
.
NEXT_PUBLIC_
BACKEND_API
_URL
}${
router
.
asPath
}
`
);
console
.
log
(
`
${
process
.
env
.
NEXT_PUBLIC_
FRONTEND
_URL
}${
router
.
asPath
}
`
);
setshareUrl
(
`
${
process
.
env
.
NEXT_PUBLIC_
BACKEND_API
_URL
}${
router
.
asPath
}
`
);
setshareUrl
(
`
${
process
.
env
.
NEXT_PUBLIC_
FRONTEND
_URL
}${
router
.
asPath
}
`
);
},
[]);
},
[]);
return
(
return
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment