Skip to content

Commit

Permalink
remove dimensions type
Browse files Browse the repository at this point in the history
  • Loading branch information
haaarshsingh committed Jun 18, 2024
1 parent 7637c60 commit c0dc185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

import { useEffect, useState, type FC, type ReactNode } from "react";
import { ThemeProvider } from "next-themes";
import { MenuProvider, Dimensions } from "kmenu";
import { MenuProvider } from "kmenu";

export default (({ children }) => {
const [mounted, setMounted] = useState(false);
useEffect(() => setMounted(true), [mounted]);

const dimensions: Dimensions = {
const dimensions = {
sectionHeight: 30,
commandHeight: 50,
commands: 6,
Expand Down

0 comments on commit c0dc185

Please sign in to comment.