diff --git a/src/App.tsx b/src/App.tsx index ef051bc..ab7cc23 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -181,7 +181,7 @@ function App() { } /> } /> - } /> + } /> } /> diff --git a/src/components/CustomDataGrid.tsx b/src/components/CustomDataGrid.tsx index 00ded27..5341490 100644 --- a/src/components/CustomDataGrid.tsx +++ b/src/components/CustomDataGrid.tsx @@ -3,6 +3,8 @@ import {Stack, Button} from '@mui/material' import React, {useState, useEffect, useMemo} from 'react' import Cookies from 'js-cookie' +import {localeText} from '../locales/ru/localeText' + interface CustomDataGridProps extends DataGridProps { hasCoordinates?: boolean } @@ -69,7 +71,7 @@ export const CustomDataGrid = ({hasCoordinates = false, columns = [], ...props}: return ( - + {hasCoordinates && (