diff --git a/app/web_ui/src/routes/(app)/+layout.svelte b/app/web_ui/src/routes/(app)/+layout.svelte
index 2542c1a..63facb7 100644
--- a/app/web_ui/src/routes/(app)/+layout.svelte
+++ b/app/web_ui/src/routes/(app)/+layout.svelte
@@ -38,8 +38,8 @@
Kiln AI
diff --git a/checks.sh b/checks.sh
index d49a73a..4524c76 100755
--- a/checks.sh
+++ b/checks.sh
@@ -22,7 +22,7 @@ echo "No misspellings found"
echo "${headerStart}Web UI: format, lint, check${headerEnd}"
-changed_files=$(git diff --name-only)
+changed_files=$(git diff --name-only --staged)
if [[ "$changed_files" == *"app/web_ui/"* ]]; then
echo "${headerStart}Checking Web UI: format, lint, check${headerEnd}"
cd app/web_ui