removed redundant code (#86)
This commit is contained in:
parent
30083b6705
commit
b9c9d98252
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ import config from 'lib/config';
|
|||
import prisma from 'lib/prisma';
|
||||
|
||||
export default function EmbeddedImage({ image, title, username, color, normal, embed }) {
|
||||
console.log(normal, embed);
|
||||
const dataURL = (route: string) => `${route}/${image.file}`;
|
||||
|
||||
return (
|
||||
|
@ -89,4 +88,4 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
|
|||
embed: config.uploader.embed_route
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue