Merge branch 'Yidadaa:main' into main
This commit is contained in:
commit
839c5392f5
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
// require("../polyfill");
|
||||
require("../polyfill");
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ function ContextPromptItem(props: {
|
|||
const [focusingInput, setFocusingInput] = useState(false);
|
||||
|
||||
return (
|
||||
<Draggable draggableId={props.prompt.id.toString()} index={props.index}>
|
||||
<Draggable draggableId={props.prompt.id || props.index.toString()} index={props.index}>
|
||||
{(provided) => (
|
||||
<div
|
||||
className={chatStyle["context-prompt-row"]}
|
||||
|
|
|
@ -3,8 +3,9 @@ import "./styles/globals.scss";
|
|||
import "./styles/markdown.scss";
|
||||
import "./styles/highlight.scss";
|
||||
import { getClientConfig } from "./config/client";
|
||||
import { type Metadata } from 'next';
|
||||
|
||||
export const metadata = {
|
||||
export const metadata: Metadata = {
|
||||
title: "ChatGPT Next Web",
|
||||
description: "Your personal ChatGPT Chat Bot.",
|
||||
viewport: {
|
||||
|
|
Loading…
Reference in New Issue