Skip to content

Commit 3d5268c

Browse files
committed
chore(root): Lint
1 parent 2f1a7d9 commit 3d5268c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/react-email/src/components/topbar/theme-toggle-group.tsx

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
import * as ToggleGroup from '@radix-ui/react-toggle-group';
2-
import { Tooltip } from '../tooltip';
3-
import { cn } from '../../utils';
42
import { motion } from 'framer-motion';
5-
import { IconMoon } from '../icons/icon-moon';
3+
import { cn } from '../../utils';
64
import { tabTransition } from '../../utils/constants';
5+
import { IconMoon } from '../icons/icon-moon';
76
import { IconSun } from '../icons/icon-sun';
7+
import { Tooltip } from '../tooltip';
88

99
interface ThemeToggleGroupProps {
1010
active: 'light' | 'dark';
1111
onChange: (theme: 'light' | 'dark') => unknown;
1212
}
1313

14-
export const ThemeToggleGroup = ({ active, onChange }: ThemeToggleGroupProps) => {
14+
export const ThemeToggleGroup = ({
15+
active,
16+
onChange,
17+
}: ThemeToggleGroupProps) => {
1518
return (
1619
<ToggleGroup.Root
1720
aria-label="Color Scheme"

packages/react-email/src/utils/testing/js-email-export-default.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// A JavaScript email component with ES6 export default
22
import { Button, Html } from '@react-email/components';
3-
import React from 'react';
43

54
function Email() {
65
return (

0 commit comments

Comments
 (0)