From 42bb0b17ba20ab51c2fdce9509e46137d72f91f8 Mon Sep 17 00:00:00 2001 From: Maciej Gierada Date: Fri, 21 Jun 2024 17:44:05 +0200 Subject: [PATCH] fix: move theme toggle to components --- ui/src/app/page.js | 2 +- ui/src/components/{ActionButton => }/ThemeToggle/index.jsx | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename ui/src/components/{ActionButton => }/ThemeToggle/index.jsx (100%) diff --git a/ui/src/app/page.js b/ui/src/app/page.js index 5f69567..e36e6c7 100644 --- a/ui/src/app/page.js +++ b/ui/src/app/page.js @@ -4,7 +4,7 @@ import { DisplayCard } from "@/components/Card"; import HealthStatus from "@/components/HealthStatus"; import { ActionButton } from "@/components/ActionButton"; import { recordEvent } from "@/utils/actions"; -import { ThemeToggle } from "@/components/ActionButton/ThemeToggle"; +import { ThemeToggle } from "@/components/ThemeToggle"; /** * Fetches the current value of the counter from the API. diff --git a/ui/src/components/ActionButton/ThemeToggle/index.jsx b/ui/src/components/ThemeToggle/index.jsx similarity index 100% rename from ui/src/components/ActionButton/ThemeToggle/index.jsx rename to ui/src/components/ThemeToggle/index.jsx