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";
|
||||
|
||||
if (!images || !images[0]) {
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user