Skip to content

Instantly share code, notes, and snippets.

View dougwithseismic's full-sized avatar
🎯
For Hire

Doug silkstone dougwithseismic

🎯
For Hire
View GitHub Profile
import { getCalApi } from "@calcom/embed-react"
import { useRef, useEffect } from "react"
const useCalDotCom = (namespace: string, link: string, config: object) => {
const calRef = useRef<any>(null)
useEffect(() => {
const initCal = async () => {
const cal = await getCalApi()
@dougwithseismic
dougwithseismic / clientsite.html
Last active September 1, 2022 13:21
JavaScript Express / Node : How can I serve different scripts to different customers like Hotjar does?
<script defer src='https://my.backend.io/v1/library/customer-xyz123/ />