on master help sign in
ecosystem: accepts parses arrays
8052382Matilde Park
components/ecosystem/BasicPage.js+7−6
@@ -77,18 +77,19 @@ export default function BasicPage({
77 {post?.URL && section !== "Podcasts" && (
77 {post?.URL && section !== "Podcasts" && (
78 <div className="flex flex-col">
78 <div className="flex flex-col">
79 <p className="font-bold text-wall-400">Accepts</p>
79 <p className="font-bold text-wall-400">Accepts</p>
80− <p
81− className="text-sm font-semibold font-mono"
80+ <p className="text-sm font-semibold font-mono">
82− >
83− {post.payment }
81+ {post.payment.join(", ")}
84 </p>
82 </p>
85 </div>
83 </div>
86 )}
84 )}
87 </div>
85 </div>
88 {post?.URL && section === "Podcasts" && (
86 {post?.URL && section === "Podcasts" && (
87+ <a
88+ href={post.URL}
89− <a href={post.URL} className="button-lg bg-green-400 text-white cursor-pointer flex space-x-2">
89+ className="button-lg bg-green-400 text-white cursor-pointer flex space-x-2"
90+ >
90 <img src="/images/sound.svg" />
91 <img src="/images/sound.svg" />
91− &nbsp;Listen
92+ &nbsp;Listen
92 </a>
93 </a>
93 )}
94 )}
94 </div>
95 </div>