Skip to content

Commit 78a602b

Browse files
QuyenTran93QuyenTran93
and
QuyenTran93
authored
fix: build (#6)
* fix: build * fix: import type * chore: update import type --------- Co-authored-by: QuyenTran93 <[email protected]>
1 parent b189274 commit 78a602b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AntdRegistry.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'use client';
22

3-
import React, { FC, useRef, useState } from 'react';
3+
import React, { type FC, useRef, useState } from 'react';
44
import { createCache, extractStyle, StyleProvider } from '@ant-design/cssinjs';
5+
import type { StyleProviderProps } from '@ant-design/cssinjs';
56
import { useServerInsertedHTML } from 'next/navigation';
67

78
type AntdRegistryProps = Omit<StyleProviderProps, 'cache'>;

0 commit comments

Comments
 (0)