In the UI, use the default image
This commit is contained in:
parent
c840db646f
commit
b0dd552d08
|
@ -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";
|
const defaultImage = "https://manifold.markets/logo.png";
|
||||||
|
|
||||||
if (!images || !images[0]) {
|
if (!images || !images[0]) {
|
||||||
|
|
|
@ -148,6 +148,10 @@ const markdownOptions: DropdownOption[] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const imageLightOptions: DropdownOption[] = [
|
const imageLightOptions: DropdownOption[] = [
|
||||||
|
{
|
||||||
|
text: "Manifold",
|
||||||
|
value: "https://manifold.markets/logo.png",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "Vercel",
|
text: "Vercel",
|
||||||
value:
|
value:
|
||||||
|
@ -166,6 +170,10 @@ const imageLightOptions: DropdownOption[] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const imageDarkOptions: DropdownOption[] = [
|
const imageDarkOptions: DropdownOption[] = [
|
||||||
|
{
|
||||||
|
text: "Manifold",
|
||||||
|
value: "https://manifold.markets/logo.png",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "Vercel",
|
text: "Vercel",
|
||||||
value:
|
value:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user