We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a963c0 commit 680a0e1Copy full SHA for 680a0e1
1 file changed
apps/condo/domains/billing/components/BillingPageContent/ReceiptsTable.tsx
@@ -176,7 +176,7 @@ export const ReceiptsTable: React.FC = () => {
176
}, [reportPeriod])
177
178
const onRowClick = useCallback((record: BillingReceiptType) => {
179
- const hasSelectedText = typeof globalThis.window !== 'undefined' && globalThis.window.getSelection?.()?.toString().trim()
+ const hasSelectedText = globalThis.window?.getSelection?.()?.toString().trim()
180
if (hasSelectedText) return
181
182
if (hasServices) {
0 commit comments