Skip to content

Commit

Permalink
chore: use substring
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasdc committed Jan 13, 2025
1 parent 7496fca commit 6cc689a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Analyst/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { useEffect, useRef, useState } from 'react';
import styles from './Tooltip.module.css';

const generateUniqueKey = () => {
return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
return `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
};

const convertKmlColorToHex = (
Expand Down

0 comments on commit 6cc689a

Please sign in to comment.