Fix sonarqube issues
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { LoadingWifiProps } from "$/types/LoadingTypes";
|
||||
import { useId } from "react";
|
||||
|
||||
|
||||
export default function Wifi({
|
||||
@@ -9,9 +10,9 @@ export default function Wifi({
|
||||
fadeDuration = 0.001,
|
||||
stroke,
|
||||
fill
|
||||
}: LoadingWifiProps){
|
||||
}: Readonly<LoadingWifiProps>){
|
||||
//https://github.com/n3r4zzurr0/svg-spinners/blob/main/svg-smil/wifi.svg
|
||||
const id = crypto.randomUUID().replaceAll("-", "");
|
||||
const id = useId();
|
||||
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user