In the UI, use the default image

This commit is contained in:
Austin Chen 2022-01-07 11:44:51 -08:00
parent c840db646f
commit b0dd552d08
2 changed files with 9 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function getArray(stringOrArray: string[] | string | undefined): string[] {
}
}
function getDefaultImages(images: string[], theme: Theme): string[] {
function getDefaultImages(images: string[]): string[] {
const defaultImage = "https://manifold.markets/logo.png";
if (!images || !images[0]) {

View File

@ -148,6 +148,10 @@ const markdownOptions: DropdownOption[] = [
];
const imageLightOptions: DropdownOption[] = [
{
text: "Manifold",
value: "https://manifold.markets/logo.png",
},
{
text: "Vercel",
value:
@ -166,6 +170,10 @@ const imageLightOptions: DropdownOption[] = [
];
const imageDarkOptions: DropdownOption[] = [
{
text: "Manifold",
value: "https://manifold.markets/logo.png",
},
{
text: "Vercel",
value: