Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

style: refactor: format code and ensure newline at end of file in task and theme toggle components

Andrej Acevski8c54490348d5
diff --git a/apps/api/src/task/index.ts b/apps/api/src/task/index.ts
index d690a4de3..4e600e3ec 100644
--- a/apps/api/src/task/index.ts
+++ b/apps/api/src/task/index.ts
@@ -112,7 +112,7 @@ const task = new Hono<{
userId,
);
- if(status !== task.status) {
+ if (status !== task.status) {
const user = c.get("userId");
await publishEvent("task.status_changed", {
taskId: task.id,
@@ -123,7 +123,6 @@ const task = new Hono<{
type: "status_changed",
});
}
-
return c.json(task);
},
diff --git a/apps/web/src/components/theme-toggle-dropdown.tsx b/apps/web/src/components/theme-toggle-dropdown.tsx
index 11aa9dd24..cd5a9c4df 100644
--- a/apps/web/src/components/theme-toggle-dropdown.tsx
+++ b/apps/web/src/components/theme-toggle-dropdown.tsx
@@ -57,4 +57,4 @@ export function ThemeToggleDropdown() {
</DropdownMenuContent>
</DropdownMenu>
);
-}
\ No newline at end of file
+}