fix: move Leaflet CSS import

This commit is contained in:
William Valentin
2026-02-04 18:13:30 -08:00
parent 8f59d3ba72
commit c6b4095a39
2 changed files with 1 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import type { ReactNode } from "react";
import { getAppName } from "@tline/config";
import "leaflet/dist/leaflet.css";
export const metadata = {
title: getAppName()

View File

@@ -1,6 +1,5 @@
"use client";
import "leaflet/dist/leaflet.css";
import L from "leaflet";
import { useEffect, useRef, useState } from "react";
import { MapContainer, TileLayer, Marker, Popup, useMap } from "react-leaflet";