+
Spacedrive
diff --git a/interface/hooks/useCounter.ts b/interface/hooks/useCounter.ts
index d9e01e249..ae5fbc290 100644
--- a/interface/hooks/useCounter.ts
+++ b/interface/hooks/useCounter.ts
@@ -33,7 +33,13 @@ type UseCounterProps = {
saveState?: boolean;
};
-const useCounter = ({ name, start = 0, end, duration = 2, saveState = true }: UseCounterProps) => {
+export const useCounter = ({
+ name,
+ start = 0,
+ end,
+ duration = 2,
+ saveState = true
+}: UseCounterProps) => {
const { lastValue, setLastValue } = useCounterState(name);
if (saveState && lastValue) {
@@ -60,5 +66,3 @@ const useCounter = ({ name, start = 0, end, duration = 2, saveState = true }: Us
return value;
};
-
-export default useCounter;
diff --git a/interface/hooks/useExplorerTopBarOptions.tsx b/interface/hooks/useExplorerTopBarOptions.tsx
index da673fd04..d41595cf8 100644
--- a/interface/hooks/useExplorerTopBarOptions.tsx
+++ b/interface/hooks/useExplorerTopBarOptions.tsx
@@ -12,8 +12,8 @@ import {
} from 'phosphor-react';
import OptionsPanel from '~/app/$libraryId/Explorer/OptionsPanel';
import { TOP_BAR_ICON_STYLE, ToolOption } from '~/app/$libraryId/TopBar';
-import { getExplorerStore, useExplorerStore } from './useExplorerStore';
import { KeyManager } from '../app/$libraryId/KeyManager';
+import { getExplorerStore, useExplorerStore } from './useExplorerStore';
export const useExplorerTopBarOptions = () => {
const explorerStore = useExplorerStore();
diff --git a/packages/ui/src/RadioGroup.tsx b/packages/ui/src/RadioGroup.tsx
index 46725d4df..aabd2ad4c 100644
--- a/packages/ui/src/RadioGroup.tsx
+++ b/packages/ui/src/RadioGroup.tsx
@@ -3,7 +3,7 @@ import { cx } from 'class-variance-authority';
import clsx from 'clsx';
import { forwardRef } from 'react';
-export interface RootProps extends RadioGroup.RadioGroupProps { }
+export interface RootProps extends RadioGroup.RadioGroupProps {}
export const Root = forwardRef
(
({ children, className, ...props }, ref) => {
return (
@@ -18,7 +18,7 @@ export const Root = forwardRef(
// RadioGroup.Item
// )`rounded-md border border-app-line bg-app-box px-4 py-2 flex items-center space-x-2`;
-export interface ItemProps extends RadioGroup.RadioGroupItemProps { }
+export interface ItemProps extends RadioGroup.RadioGroupItemProps {}
export const Item = ({ children, ...props }: ItemProps) => {
return (