Skip to content

Commit

Permalink
Remove env load
Browse files Browse the repository at this point in the history
  • Loading branch information
wileymc committed Jan 7, 2025
1 parent a1468a6 commit 9d890e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"dependencies": {
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/env": "^15.1.4",
"@next/mdx": "^15.1.2",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import type { i18n } from "../next-i18next.config";
// export const DEFAULT_LANGUAGE = i18n.defaultLocale;
export const DEFAULT_LANGUAGE = "en";
export type Language = (typeof i18n.locales)[number];
import { loadEnvConfig } from "@next/env";
const projectDir = process.cwd();
loadEnvConfig(projectDir);

export interface LocalizedNote {
en?: string;
Expand Down

0 comments on commit 9d890e9

Please sign in to comment.