Skip to content

Commit

Permalink
Temporary Comment-Out of Unused Variables
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmayDhobale committed Mar 18, 2024
1 parent b2bdce4 commit fdc736e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
10 changes: 7 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
const nextConfig = {
experimental: {
serverActions: {
allowedOrigins: ['localhost:3000', 'app.100xdevs.com', 'app2.100xdevs.com']
}
}
allowedOrigins: [
'localhost:3000',
'app.100xdevs.com',
'app2.100xdevs.com',
],
},
},
};

module.exports = nextConfig;
20 changes: 10 additions & 10 deletions src/actions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CommentType } from '@prisma/client';
export interface QueryParams {
limit?: number;
page?: number;
commentfilter?: CommentFilter;
// commentfilter?: CommentFilter;
search?: string;
date?: string;
type?: CommentType;
Expand All @@ -13,16 +13,16 @@ export interface QueryParams {
timestamp?: number;
editCommentId?: number;
}
export enum CommentFilter {
md = 'Most downvotes',
mu = 'Most upvotes',
mr = 'Most Recent',
}
// export enum CommentFilter {
// md = 'Most downvotes',
// mu = 'Most upvotes',
// mr = 'Most Recent',
// }
export type Delete = {
message: string;
};

export enum ROLES {
ADMIN = 'admin',
USER = 'user',
}
// export enum ROLES {
// ADMIN = 'admin',
// USER = 'user',
// }
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ module.exports = {
},
},
plugins: [require('tailwindcss-animate')],
};
};

0 comments on commit fdc736e

Please sign in to comment.