"use client"

import { useEffect } from "react"
import { useStore } from "@/lib/store"

export function ConfigLoader() {
  const { fetchSettings } = useStore()

  useEffect(() => {
    fetchSettings()
  }, [fetchSettings])

  return null
}
