mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 10:42:42 +08:00
feat: convert components to dynamic imports for improved performance (#22614)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import React from 'react'
|
||||
import type { FC } from 'react'
|
||||
import { init } from 'emoji-mart'
|
||||
import data from '@emoji-mart/data'
|
||||
@@ -71,4 +72,4 @@ const AppIcon: FC<AppIconProps> = ({
|
||||
</span>
|
||||
}
|
||||
|
||||
export default AppIcon
|
||||
export default React.memo(AppIcon)
|
||||
|
||||
Reference in New Issue
Block a user