Skip to content

Commit

Permalink
tada 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
gatzjames committed Nov 25, 2024
1 parent afec3d1 commit d3df775
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/insomnia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"oauth-1.0a": "^2.2.6",
"papaparse": "^5.4.1",
"prettier": "2.4.1",
"react-router": "^7.0.1",
"shell-quote": "^1.8.1",
"swagger-ui-dist": "^5.17.14",
"tough-cookie": "^4.1.3",
Expand Down Expand Up @@ -168,6 +167,7 @@
"react-aria-components": "^1.1.1",
"react-dom": "^18.2.0",
"react-resizable-panels": "^2.0.17",
"react-router": "^7.0.1",
"react-stately": "3.30.1",
"react-use": "^17.5.0",
"tailwindcss": "^3.4.3",
Expand Down
10 changes: 0 additions & 10 deletions packages/insomnia/src/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1138,13 +1138,6 @@ async function renderApp() {
],
{
initialEntries: [initialEntry],
future: {
v7_relativeSplatPath: true,
v7_fetcherPersist: true,
v7_normalizeFormMethod: true,
v7_partialHydration: true,
v7_skipActionErrorRevalidation: true,
},
}
);

Expand Down Expand Up @@ -1173,9 +1166,6 @@ async function renderApp() {

ReactDOM.createRoot(root).render(
<RouterProvider
future={{
v7_startTransition: true,
}}
router={router}
/>
);
Expand Down
5 changes: 2 additions & 3 deletions packages/insomnia/src/ui/routes/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
import { Panel, PanelGroup, PanelResizeHandle } from 'react-resizable-panels';
import {
type ActionFunction,
defer,
type LoaderFunction,
redirect,
useFetcher,
Expand Down Expand Up @@ -576,7 +575,7 @@ export const loader: LoaderFunction = async ({

const projectsSyncStatusPromise = CheckAllProjectSyncStatus(projects);

return defer({
return {
localFiles,
learningFeaturePromise,
remoteFilesPromise,
Expand All @@ -597,7 +596,7 @@ export const loader: LoaderFunction = async ({
file => file.scope === 'mock-server'
).length,
projectsSyncStatusPromise,
});
};
};

const ProjectRoute: FC = () => {
Expand Down

0 comments on commit d3df775

Please sign in to comment.