From 78a602b29a2fb786de4e9c7be1141e16a53a28c7 Mon Sep 17 00:00:00 2001 From: QuyenTran93 Date: Wed, 22 May 2024 18:16:36 +0700 Subject: [PATCH] fix: build (#6) * fix: build * fix: import type * chore: update import type --------- Co-authored-by: QuyenTran93 --- src/AntdRegistry.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AntdRegistry.tsx b/src/AntdRegistry.tsx index 4beb783..5c15c84 100644 --- a/src/AntdRegistry.tsx +++ b/src/AntdRegistry.tsx @@ -1,7 +1,8 @@ 'use client'; -import React, { FC, useRef, useState } from 'react'; +import React, { type FC, useRef, useState } from 'react'; import { createCache, extractStyle, StyleProvider } from '@ant-design/cssinjs'; +import type { StyleProviderProps } from '@ant-design/cssinjs'; import { useServerInsertedHTML } from 'next/navigation'; type AntdRegistryProps = Omit;