Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 20, 2024
1 parent a982fe8 commit 354e6ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion backend/src/config/admins.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const ADMIN_ACCOUNTS: string[] = [
"elliot_braem",
// Add admin Twitter handles here (without @)
// Example: "TwitterDev"
"elliot_braem",
"plugrel",
];
5 changes: 1 addition & 4 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ function App() {
<nav className="bg-white border-b-2 border-gray-800 p-6">
<div className="max-w-7xl mx-auto flex justify-between items-center">
<div className="flex items-center space-x-8">
<Link
to="/"
className="hover:text-gray-600 transition-colors"
>
<Link to="/" className="hover:text-gray-600 transition-colors">
<h1 className="text-2xl font-bold">Curation Bot</h1>
</Link>
</div>
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/SubmissionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ const StatusBadge = ({ status }: { status: TwitterSubmission["status"] }) => {
const statusClasses = {
pending: "bg-yellow-200 text-yellow-900 border-yellow-400",
approved: "bg-green-200 text-green-900 border-green-400",
rejected: "bg-red-200 text-red-900 border-red-400"
rejected: "bg-red-200 text-red-900 border-red-400",
};
return <span className={`${baseClasses} ${statusClasses[status]}`}>{status}</span>;
return (
<span className={`${baseClasses} ${statusClasses[status]}`}>{status}</span>
);
};

const SubmissionList = () => {
Expand Down

0 comments on commit 354e6ac

Please sign in to comment.