Update how the current year is displayed in the publicities section

Remove defaultValue and placeholder for the year select component in Publicities.tsx.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
This commit is contained in:
michaelschal committed 2025-08-21 11:36:09 +00:00
1 parent 393ee4a231
commit cbf2eed63a
1 file changed
+1 -2
+1 -2
View File
@@ -286,10 +286,9 @@ export default function Publicities() {
<Select
value={selectedYear.toString()}
onValueChange={(value) => setSelectedYear(parseInt(value))}
defaultValue={new Date().getFullYear().toString()}
>
<SelectTrigger className="w-32">
<SelectValue placeholder={selectedYear.toString()} />
<SelectValue />
</SelectTrigger>
<SelectContent>
{yearOptions.map((year) => (