Skip to content

Commit

Permalink
Switch return type of SettingsModal
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasEng committed Aug 16, 2024
1 parent e4c5ec9 commit 33104ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ReactNode } from 'react';
import type { ReactElement } from 'react';
import React, { forwardRef, useImperativeHandle, useRef, useState } from 'react';
import classes from './SettingsModal.module.css';
import {
Expand All @@ -20,7 +20,7 @@ import { AccessControlTab } from './components/Tabs/AccessControlTab';
import { SetupTab } from './components/Tabs/SetupTab';
import type { SettingsModalHandle } from '../../../types/SettingsModalHandle';

export const SettingsModal = forwardRef<SettingsModalHandle, {}>(({}, ref): ReactNode => {
export const SettingsModal = forwardRef<SettingsModalHandle, {}>(({}, ref): ReactElement => {
const { t } = useTranslation();

const [currentTab, setCurrentTab] = useState<SettingsModalTab>('about');
Expand Down

0 comments on commit 33104ba

Please sign in to comment.