Skip to content

Commit

Permalink
Apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca committed May 23, 2024
1 parent eb785b4 commit 19a0327
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions client/components/Editors/Chart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export interface ChartProps {
export default function Chart(props: ChartProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Config/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export interface ConfigProps {
export default function Config(props: ConfigProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Dialect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface DialectProps {
export default function Dialect(props: DialectProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Package/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export interface PackageProps {
export default function Package(props: PackageProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Portal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export interface PortalProps {
export default function Portal(props: PortalProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Resource/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export interface ResourceProps {
export default function Resource(props: ResourceProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/Schema/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface SchemaProps {
export default function Schema(props: SchemaProps) {
const store = React.useMemo(() => makeStore(props), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
6 changes: 3 additions & 3 deletions client/components/Editors/View/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export default function View(props: ViewProps) {
const editorRef = React.useMemo(() => React.createRef<ITextEditor>(), [])
const store = React.useMemo(() => makeStore(props, editorRef), Object.values(props))
return (
<StoreProvider value={store}>
<Layout />
</StoreProvider>
<StoreProvider value={store}>
<Layout />
</StoreProvider>
)
}
8 changes: 4 additions & 4 deletions client/components/Views/Report/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export interface ReportProps {

export default function Report(props: ReportProps) {
return (
<div className="frictionless-components-report">
<TopLevelErrors {...props} />
{props.shallow ? <ShallowTasks {...props} /> : <ExpandedTasks {...props} />}
</div>
<div className="frictionless-components-report">
<TopLevelErrors {...props} />
{props.shallow ? <ShallowTasks {...props} /> : <ExpandedTasks {...props} />}
</div>
)
}

Expand Down

0 comments on commit 19a0327

Please sign in to comment.