Skip to content

Commit

Permalink
style: fix new sonarcloud issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danmaninc committed Mar 3, 2024
1 parent cf85c97 commit b85303c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions app/@modal/(.)schedule/event-groups/[alias]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ export default function Page({ params: { alias } }: Props) {
// Role props for screen readers
const role = useRole(context);

const { getReferenceProps, getFloatingProps } = useInteractions([
dismiss,
role,
]);
const { getFloatingProps } = useInteractions([dismiss, role]);

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions components/schedule/skeletons/GroupCardTagSkeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { GroupCardSkeleton } from "@/components/schedule/skeletons/GroupCardSkeleton";
import React, { useState } from "react";
import React from "react";

export function GroupCardTagSkeleton() {
const [els] = useState(Array(12).fill(crypto.randomUUID()));
const els = Array(12).fill(crypto.randomUUID());
return (
<React.Fragment key={`loading-gctag-${crypto.randomUUID()}`}>
<div className="my-4 flex w-full flex-wrap justify-between">
Expand Down

0 comments on commit b85303c

Please sign in to comment.