Skip to content

Instantly share code, notes, and snippets.

View tschoffelen's full-sized avatar

Thomas Schoffelen tschoffelen

View GitHub Profile
"use client";
import React, { useEffect, useRef } from "react";
import axios from "axios";
const loadMapkitJs = () =>
new Promise((resolve) => {
if (typeof window === undefined) {
return;
}