mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 03:47:02 +00:00
Formatting fix, removed unnecessary code
This commit is contained in:
@@ -50,7 +50,11 @@ COLORS = {
|
||||
"background": "bg-cyan-400",
|
||||
"hex": "#06b6d4",
|
||||
},
|
||||
"lime": {"text": "text-lime-400", "background": "bg-lime-400", "hex": "#84cc16"},
|
||||
"lime": {
|
||||
"text": "text-lime-400",
|
||||
"background": "bg-lime-400",
|
||||
"hex": "#84cc16",
|
||||
},
|
||||
"sky": {
|
||||
"text": "text-sky-400",
|
||||
"background": "bg-sky-400",
|
||||
|
||||
@@ -45,7 +45,6 @@ def home(request):
|
||||
if request.headers.get("HX-Request") and media_type_to_load:
|
||||
context = {
|
||||
"media_list": list_by_type.get(media_type_to_load, []),
|
||||
"user": request.user,
|
||||
}
|
||||
return render(request, "app/components/home_grid.html", context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user