Merge remote-tracking branch 'upstream/main'

This commit is contained in:
DirkSchlossmacher 2023-07-18 08:05:32 +02:00
commit 9f9b1d273f
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
"use client";
// require("../polyfill");
require("../polyfill");
import { useState, useEffect } from "react";

View File

@ -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"]}

View File

@ -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: "AdExGPT Web",
description: "Our AdExGPT assistant - powered by Gen AI.",
viewport: {

View File

@ -9,7 +9,7 @@
},
"package": {
"productName": "ChatGPT Next Web",
"version": "2.8.9"
"version": "2.9.0"
},
"tauri": {
"allowlist": {