From 5533437d8d564825d62077c326fdd96a962ca32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Lind=20S=C3=B8rensen?= Date: Wed, 22 Mar 2023 16:41:20 +0100 Subject: [PATCH] Update lingui import statement in setup-vite.md (#1552) --- website/docs/tutorials/setup-vite.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/tutorials/setup-vite.md b/website/docs/tutorials/setup-vite.md index b131b9693..da0abe41c 100644 --- a/website/docs/tutorials/setup-vite.md +++ b/website/docs/tutorials/setup-vite.md @@ -24,7 +24,7 @@ The Lingui Vite integration: ```ts title="vite.config.ts" import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; - import lingui from "@lingui/vite-plugin"; + import { lingui } from "@lingui/vite-plugin"; export default defineConfig({ plugins: [ @@ -54,7 +54,7 @@ The Lingui Vite integration: ```ts title="vite.config.ts" import { defineConfig } from "vite"; import react from "@vitejs/plugin-react-swc"; - import lingui from "@lingui/vite-plugin"; + import { lingui } from "@lingui/vite-plugin"; export default defineConfig({ plugins: [