mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 19:45:33 -04:00
actually listen to react-hooks/exhaustive-deps warning
This commit is contained in:
@@ -80,11 +80,10 @@ export const getNote = async (slug: string): Promise<NoteType> => {
|
||||
const compiledSource =
|
||||
process.env.NEXT_PUBLIC_VERCEL_ENV === "production"
|
||||
? minify(source.compiledSource, {
|
||||
toplevel: true,
|
||||
parse: {
|
||||
bare_returns: true,
|
||||
},
|
||||
sourceMap: false,
|
||||
toplevel: true,
|
||||
}).code
|
||||
: source.compiledSource;
|
||||
|
||||
|
Reference in New Issue
Block a user