Skip to content

Commit

Permalink
Update client.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Jul 29, 2024
1 parent 435dc5f commit 6c5bfc0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TabContext, TabList } from '@mui/lab';
import { useBrowserJsRuntime } from '@toolpad/studio-runtime/jsBrowserRuntime';
import { errorFrom } from '@toolpad/utils/errors';
import { useQuery } from '@tanstack/react-query';
import Grid2 from '@mui/material/Unstable_Grid2';
import Grid from '@mui/material/Unstable_Grid2';
import TabPanel from '../../components/TabPanel';
import { ClientDataSource, QueryEditorProps } from '../../types';
import { LocalPrivateApi, LocalQuery, LocalConnectionParams } from './types';
Expand Down Expand Up @@ -340,7 +340,7 @@ function QueryEditor({

<Divider sx={{ mb: 1.5 }} />
<TabPanel value="parameters" disableGutters sx={{ ml: 1 }}>
<Grid2 display="grid" gridTemplateColumns={'1fr 1fr 1fr'} gap={2}>
<Grid display="grid" gridTemplateColumns={'1fr 1fr 1fr'} gap={2}>
{Object.entries(parameterDefs).map(([name, definiton]) => {
const Control = getDefaultControl(propTypeControls, definiton, liveBindings);
return Control ? (
Expand Down Expand Up @@ -370,7 +370,7 @@ function QueryEditor({
/>
) : null;
})}
</Grid2>
</Grid>
</TabPanel>
</TabContext>
</Box>
Expand Down

0 comments on commit 6c5bfc0

Please sign in to comment.