Skip to content

Commit

Permalink
Update Footer.tsx (#51)
Browse files Browse the repository at this point in the history
Removed unused children

Signed-off-by: Andres Morey <[email protected]>
  • Loading branch information
amorey authored Apr 2, 2024
1 parent e7be245 commit bb10e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/widgets/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Form from '@kubetail/ui/elements/Form';
import ServerStatus from '@/components/widgets/ServerStatus';
import { useTheme, UserPreference } from '@/lib/theme';

export default function ({ children }: React.PropsWithChildren) {
export default function () {
const { userPreference, setUserPreference } = useTheme();

const handleChange = (ev: React.ChangeEvent<HTMLSelectElement>) => {
Expand Down

0 comments on commit bb10e12

Please sign in to comment.