Skip to content

Commit 454ff79

Browse files
committed
chore(visualizer): fix typo
1 parent ceaec21 commit 454ff79

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/json-table-schema-visualizer/src/providers/TablesPositionsProvider.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ import computeTablesPositions from "@/utils/tablePositioning/computeTablesPositi
88
export const TablesPositionsContext =
99
createContext<TablesPositionsContextValue | null>(null);
1010

11-
interface ThemeProviderProps extends PropsWithChildren {
11+
interface TablesPositionsProviderProps extends PropsWithChildren {
1212
tables: JSONTableTable[];
1313
}
1414

15-
const TablesPositionsProvider = ({ tables, children }: ThemeProviderProps) => {
15+
const TablesPositionsProvider = ({
16+
tables,
17+
children,
18+
}: TablesPositionsProviderProps) => {
1619
const tablesPositions = useMemo(() => {
1720
return computeTablesPositions(tables);
1821
}, []);

0 commit comments

Comments
 (0)