mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-23 00:03:24 +00:00
Import zod differently to better tree shake it
This commit is contained in:
1 parent
4a390891f1
commit
04fb8fe376
5 files changed
+5
-5
No files matched your search
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
import { useState } from "react";
|
||||
import { z } from "zod";
|
||||
import * as z from "zod";
|
||||
|
||||
import { PageInfo } from "./gql/graphql";
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
} from "@tanstack/react-router";
|
||||
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
|
||||
import { Client } from "urql";
|
||||
import { z } from "zod";
|
||||
import * as z from "zod";
|
||||
|
||||
import Layout from "../components/Layout";
|
||||
import NotFound from "../components/NotFound";
|
||||
|
||||
@@ -18,7 +18,7 @@ import IconKey from "@vector-im/compound-design-tokens/icons/key.svg?react";
|
||||
import { Alert, Button, Text } from "@vector-im/compound-web";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useMutation, useQuery } from "urql";
|
||||
import { z } from "zod";
|
||||
import * as z from "zod";
|
||||
|
||||
import BlockList from "../components/BlockList";
|
||||
import { ButtonLink } from "../components/ButtonLink";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { z } from "zod";
|
||||
import * as z from "zod";
|
||||
|
||||
const uriDatabaseConfig = z.object({
|
||||
uri: z.string(),
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { z } from "zod";
|
||||
import * as z from "zod";
|
||||
|
||||
const sqlite3DatabaseConfig = z.object({
|
||||
name: z.literal("sqlite3"),
|
||||
|
||||
Reference in new issue
Block a user