diff --git a/src/components/Account/SessionsTabs.tsx b/src/components/Account/SessionsTabs.tsx index af22a1f..24ccd7f 100644 --- a/src/components/Account/SessionsTabs.tsx +++ b/src/components/Account/SessionsTabs.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import styled from 'styled-components'; -import * as dayjs from 'dayjs'; +import dayjs from 'dayjs'; import 'dayjs/locale/ru'; import 'dayjs/locale/en'; import 'dayjs/locale/de'; diff --git a/tsconfig.json b/tsconfig.json index e3932e2..82a5824 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve",