Skip to content

Commit

Permalink
🐛 Fix empty key or value error
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jan 29, 2024
1 parent beb1068 commit 49dff70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions packages/forge/blocks/difyAi/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import React from 'react'

export const DifyAiLogo = (props: React.SVGProps<SVGSVGElement>) => (
<svg
viewBox="0 0 25 25"
width="25"
height="25"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<svg viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg" {...props}>
<image
href="https://framerusercontent.com/images/xRJ6vNo9mUYeVNxt0KITXCXEuSk.png"
height="25"
Expand Down
4 changes: 2 additions & 2 deletions packages/forge/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ export const option = {
keyValueList: z
.array(
z.object({
key: z.string().layout({
key: z.string().optional().layout({
label: 'Key',
}),
value: z.string().layout({
value: z.string().optional().layout({
label: 'Value',
}),
})
Expand Down

0 comments on commit 49dff70

Please sign in to comment.