mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-17 16:45:10 +00:00
fix typescript error
This commit is contained in:
@@ -33,7 +33,7 @@ export function HTMLPreview(props: {
|
||||
*/
|
||||
|
||||
useEffect(() => {
|
||||
const handleMessage = (e) => {
|
||||
const handleMessage = (e: any) => {
|
||||
const { id, height, title } = e.data;
|
||||
setTitle(title);
|
||||
if (id == frameId.current) {
|
||||
|
Reference in New Issue
Block a user