import {loadTranslations} from '$lib/translations';
import type {LayoutLoad} from "./$types";

export const load: LayoutLoad = async ({ url, data }) => {
  const { locale } = data.i18n

  await loadTranslations(locale);

  return {};
};
