Skip to content

Commit 57d94f0

Browse files
committed
refactor: RecentSandboxes to use named export
1 parent fe01df6 commit 57d94f0

File tree

2 files changed

+2
-4
lines changed
  • packages/app/src/app/pages/Dashboard/Content

2 files changed

+2
-4
lines changed

packages/app/src/app/pages/Dashboard/Content/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { Route, Switch, Redirect, withRouter } from 'react-router-dom';
33

4-
import RecentSandboxes from './routes/RecentSandboxes';
4+
import { RecentSandboxes } from './routes/RecentSandboxes';
55
import PathedSandboxes from './routes/PathedSandboxes';
66
import { Templates } from './routes/Templates';
77
import DeletedSandboxes from './routes/DeletedSandboxes';

packages/app/src/app/pages/Dashboard/Content/routes/RecentSandboxes/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Content as Sandboxes } from '../../Sandboxes';
88
import CreateNewSandbox from '../../CreateNewSandbox';
99
import { RECENT_SANDBOXES_CONTENT_QUERY } from '../../../queries';
1010

11-
const RecentSandboxes = () => {
11+
export const RecentSandboxes = () => {
1212
const { state } = useOvermind();
1313
return (
1414
<>
@@ -62,5 +62,3 @@ const RecentSandboxes = () => {
6262
</>
6363
);
6464
};
65-
66-
export default RecentSandboxes;

0 commit comments

Comments
 (0)