feat: images showing up in entity page
This commit is contained in:
6
frontend/src/components/image/index.tsx
Normal file
6
frontend/src/components/image/index.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Component } from "solid-js";
|
||||
import { base } from "../../network";
|
||||
|
||||
export const Image: Component<{ ID: string }> = (props) => {
|
||||
return <img src={`${base}/image/${props.ID}`} />;
|
||||
};
|
||||
Reference in New Issue
Block a user