Skip to content

Commit 680a0e1

Browse files
committed
feat(condo): DOMA-13196 review fixes
1 parent 7a963c0 commit 680a0e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/condo/domains/billing/components/BillingPageContent/ReceiptsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const ReceiptsTable: React.FC = () => {
176176
}, [reportPeriod])
177177

178178
const onRowClick = useCallback((record: BillingReceiptType) => {
179-
const hasSelectedText = typeof globalThis.window !== 'undefined' && globalThis.window.getSelection?.()?.toString().trim()
179+
const hasSelectedText = globalThis.window?.getSelection?.()?.toString().trim()
180180
if (hasSelectedText) return
181181

182182
if (hasServices) {

0 commit comments

Comments
 (0)