Skip to content

Commit 073b123

Browse files
Zeff01claude
andcommitted
fix: Remove duplicate survey button and fix dark mode title color
- Remove duplicate "Create Survey" button from empty state - Keep only "Add Survey" button in header - Fix "Create New Survey" title color in dark mode - Add text-gray-900 dark:text-gray-100 to h2 for better visibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 60fe094 commit 073b123

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

  • apps/codebility/app/home/settings/surveys

‎apps/codebility/app/home/settings/surveys/page.tsx‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default function SurveysPage() {
162162
{editingSurvey ? "✏️" : "➕"}
163163
</span>
164164
</div>
165-
<h2 className="text-lg font-semibold">
165+
<h2 className="text-lg font-semibold text-gray-900 dark:text-gray-100">
166166
{editingSurvey ? "Edit Survey" : "Create New Survey"}
167167
</h2>
168168
</div>
@@ -199,13 +199,6 @@ export default function SurveysPage() {
199199
Create your first survey to start collecting feedback from users
200200
</p>
201201
</div>
202-
<Button
203-
onClick={() => setShowForm(true)}
204-
className="mt-2 bg-gradient-to-r from-green-500 to-teal-500 hover:from-green-600 hover:to-teal-600"
205-
>
206-
<Plus className="h-4 w-4 mr-2" />
207-
Create Survey
208-
</Button>
209202
</div>
210203
</div>
211204
) : (

0 commit comments

Comments
 (0)