Skip to content

Commit

Permalink
removed redundant code (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaNecron authored Aug 26, 2021
1 parent 30083b6 commit b9c9d98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/[...id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -89,4 +88,4 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
embed: config.uploader.embed_route
}
};
};
};

0 comments on commit b9c9d98

Please sign in to comment.