Skip to content

Commit 9e82eca

Browse files
committed
fix: Mark as resolved text on actions dropdown was showing wrong
1 parent 7217e7b commit 9e82eca

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

src/components/ui/confirmation-dialog.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
import { Button } from './button';
2-
// import {
3-
// Dialog,
4-
// DialogContent,
5-
// DialogFooter,
6-
// DialogDescription,
7-
// } from './radix-compatibility';
8-
92
interface ConfirmationDialogProps {
103
isOpen: boolean;
114
onClose: () => void;

src/components/ui/simple-dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const SimpleDropdownMenuContent = React.forwardRef<HTMLDivElement, SimpleDropdow
127127
<div
128128
ref={ref}
129129
className={cn(
130-
'absolute z-50 min-w-[8rem] overflow-hidden rounded-md border bg-white p-2 shadow-md',
130+
'absolute z-50 min-w-[10rem] overflow-hidden rounded-md border bg-white p-2 shadow-md',
131131
'top-full right-0 mt-1',
132132
className
133133
)}
@@ -148,7 +148,7 @@ const SimpleDropdownMenuItem = React.forwardRef<HTMLDivElement, SimpleDropdownMe
148148
<div
149149
ref={ref}
150150
className={cn(
151-
'flex cursor-pointer items-center rounded-sm px-2 py-1 text-sm text-gray-700 hover:bg-gray-100',
151+
'flex cursor-pointer items-center rounded-sm px-2 py-1 text-sm text-gray-700 hover:bg-gray-100 whitespace-nowrap',
152152
className
153153
)}
154154
onClick={(e) => {

src/features/statements/components/ActionLine.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const ActionLine: React.FC<ActionLineProps> = ({
153153
) : (
154154
<>
155155
<CheckCircle2 className='mr-2 h-4 w-4' />
156-
Mark as Resolved
156+
Mark as resolved
157157
</>
158158
)}
159159
</DropdownMenuItem>

src/layouts/components/MainPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import StatementWizard from '../../features/wizard/components/StatementWizard';
1414
import ShareEmailModal from '../../components/modals/ShareEmailModal';
1515
import PrivacyModal from '../../components/modals/PrivacyModal';
1616
import TermsModal from '../../components/modals/TermsModal';
17-
// import TestStatementButton from '../../components/debug/TestButton';
17+
import TestStatementButton from '../../components/debug/TestButton';
1818

1919
const MainPage: React.FC = () => {
2020
const { data } = useEntries();
@@ -115,9 +115,9 @@ const MainPage: React.FC = () => {
115115
</Tooltip>
116116

117117
{/* Debug button */}
118-
{/* <div className='mt-2'>
118+
<div className='mt-2'>
119119
<TestStatementButton />
120-
</div> */}
120+
</div>
121121
</div>
122122

123123
{/* Conditionally render the wizard modal */}

0 commit comments

Comments
 (0)