Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 531eeaf

Browse files
authored
fix(layout): align items center (#192)
fix(layout): Justify center items
1 parent 7ea1e78 commit 531eeaf

File tree

1 file changed

+3
-3
lines changed
  • aqueductcore/frontend/src/pages/ExperimentRecordsPage

1 file changed

+3
-3
lines changed

aqueductcore/frontend/src/pages/ExperimentRecordsPage/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function ExperimentRecordsPage({ category }: { category?: ExperimentRecordsPageT
226226
const { mutate } = useCreateExperiment()
227227
const navigate = useNavigate()
228228

229-
const handleCreatecreatedNewExperiment = () => {
229+
const handleCreateNewExperiment = () => {
230230
mutate({
231231
variables: {
232232
title: 'New Experiment',
@@ -246,9 +246,9 @@ function ExperimentRecordsPage({ category }: { category?: ExperimentRecordsPageT
246246
<Container>
247247
<Title>{handlePageName(location.pathname)}</Title>
248248
{/* //Guides would be added here */}
249-
<Stack direction='row' justifyContent="space-between">
249+
<Stack direction='row' justifyContent="space-between" alignItems="center">
250250
<FilterExperiments filters={filters} setFilters={setFilters} handleResetPagination={handleResetPagination} />
251-
<AddButton title="Create New Experiment" onClick={handleCreatecreatedNewExperiment} />
251+
<AddButton title="Create New Experiment" onClick={handleCreateNewExperiment} />
252252
</Stack>
253253
<Box sx={{ mt: 2 }}>
254254
{loading ? <LinearProgress /> :

0 commit comments

Comments
 (0)