chore: 通過 ESM 引入外部脚本

* React, ReactDOM 和 CryptoES
* 集中在 Imports.ts 中
* 向每一個 JSX 添加 React 的 import
This commit is contained in:
CrescentLeaf
2025-09-06 14:32:56 +08:00
parent b0c67da340
commit c5d1f11017
13 changed files with 104 additions and 68 deletions

View File

@@ -1,5 +1,7 @@
import Avatar from "../Avatar.jsx"
import { React } from '../../Imports.ts'
export default function RecentsListItem({ nickName, avatar, content }) {
return (
<mdui-list-item rounded style={{