File tree Expand file tree Collapse file tree
packages/frontend/src/routes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,18 +133,16 @@ const WhitelistPanel = () => {
133133
134134 { error && < Alert severity = "error" title = { getErrorMessage ( error ) } /> }
135135
136- < Stack flexDirection = "row" justifyContent = "flex-end" >
137- < Button
138- priority = "secondary"
139- iconId = "ri-download-line"
140- iconPosition = "left"
141- size = "small"
142- onClick = { ( ) => exportMutation . mutate ( ) }
143- disabled = { exportMutation . isPending }
144- >
145- { exportMutation . isPending ? "Export..." : "Exporter en CSV" }
146- </ Button >
147- </ Stack >
136+ < Button
137+ priority = "secondary"
138+ iconId = "ri-download-line"
139+ iconPosition = "left"
140+ size = "small"
141+ onClick = { ( ) => exportMutation . mutate ( ) }
142+ disabled = { exportMutation . isPending }
143+ >
144+ { exportMutation . isPending ? "Export..." : "Exporter en CSV" }
145+ </ Button >
148146
149147 { isLoading ? (
150148 < Center py = "3rem" >
@@ -251,18 +249,16 @@ const UsersPanel = () => {
251249
252250 { error && < Alert severity = "error" title = { getErrorMessage ( error ) } /> }
253251
254- < Stack flexDirection = "row" justifyContent = "flex-end" >
255- < Button
256- priority = "secondary"
257- iconId = "ri-download-line"
258- iconPosition = "left"
259- size = "small"
260- onClick = { ( ) => exportMutation . mutate ( ) }
261- disabled = { exportMutation . isPending }
262- >
263- { exportMutation . isPending ? "Export..." : "Exporter en CSV" }
264- </ Button >
265- </ Stack >
252+ < Button
253+ priority = "secondary"
254+ iconId = "ri-download-line"
255+ iconPosition = "left"
256+ size = "small"
257+ onClick = { ( ) => exportMutation . mutate ( ) }
258+ disabled = { exportMutation . isPending }
259+ >
260+ { exportMutation . isPending ? "Export..." : "Exporter en CSV" }
261+ </ Button >
266262
267263 { isLoading ? (
268264 < Center py = "3rem" >
You can’t perform that action at this time.
0 commit comments