Skip to content

Commit

Permalink
Merge branch 'refactor-with-vanilla-extract' of https://github.com/en…
Browse files Browse the repository at this point in the history
…sdomains/thorin into refactor-with-vanilla-extract
  • Loading branch information
storywithoutend committed Aug 27, 2024
2 parents c43f7c7 + ea67ccf commit cab5156
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export const DynamicPopover = ({

const isControlled = isOpen !== undefined

const [{ status: state }, toggle] = useTransition({
const [state, toggle] = useTransition({
preEnter: true,
exit: true,
mountOnEnter: true,
Expand Down
2 changes: 1 addition & 1 deletion components/src/components/molecules/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ export const Select = React.forwardRef(
maxInputSize,
)

const [{ status: state }, toggle] = useTransition({
const [state, toggle] = useTransition({
timeout: {
enter: 0,
exit: 300,
Expand Down
6 changes: 3 additions & 3 deletions docs/src/components/PropsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Props = {

const TableHead = ({
children,
}: React.PropsWithChildren<{ $i: number, $headers: string[] }>) => (
}: React.PropsWithChildren) => (
<Box as="th" position="sticky">
<Box as="div" padding="$4" textAlign="left">
<Typography fontVariant="bodyBold" textTransform="capitalize">
Expand Down Expand Up @@ -94,8 +94,8 @@ export const PropsTable = ({ sourceLink, types }: Props) => {
>
<Box as="thead" backgroundColor="$greySurface">
<tr>
{headers.map((x, i) => (
<TableHead key={x} $i={i} $headers={headers}>
{headers.map(x => (
<TableHead key={x}>
{x}
</TableHead>
))}
Expand Down
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const baseConfig = tseslint.config(
{
files: ['docs/src/**/*.{ts,tsx}'],
settings: {

next: {
rootDir: 'docs',
},
Expand Down

0 comments on commit cab5156

Please sign in to comment.