removed redundant code (#86)

This commit is contained in:
Nguyen Thanh Quang 2021-08-26 09:41:49 +07:00 committed by GitHub
parent 30083b6705
commit b9c9d98252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
};
};
};