Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gladly-team/tab-web into …
Browse files Browse the repository at this point in the history
…spicer/opt-in-video

# Conflicts:
#	src/components/optinvideo/OptInVideo.js
  • Loading branch information
Spicer Matthews committed Aug 20, 2024
2 parents 2637fe7 + 70234af commit eb02c9f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Leaderboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import CloseIcon from '@material-ui/icons/Close'
const iframeUrl = `${process.env.NEXT_PUBLIC_API_ENDPOINT}/v5/leaderboard?user_id=`

const Leaderboard = ({ user, openWidgetFunc, onCloseFunc }) => {
// Not a browser, so we can't render the widget.
if (typeof window === 'undefined') {
return null
}

const [openWidget, setOpenWidget] = useState(false)

const onOpen = () => {
Expand Down

0 comments on commit eb02c9f

Please sign in to comment.