mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-19 17:38:05 +00:00
6 lines
169 B
JavaScript
6 lines
169 B
JavaScript
import { useMemo } from "react";
|
|
import config from "~/frontend.json";
|
|
|
|
export default () => useMemo(() => config);
|
|
|
|
export const useConfig = cfg => useMemo(() => cfg);
|