Skip to content

Commit

Permalink
prettier and add a new dep
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiller42 committed Aug 16, 2024
1 parent 153b943 commit 5e5bbb9
Show file tree
Hide file tree
Showing 4 changed files with 419 additions and 12 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"dependencies": {
"@smartrent/use-axios": "^2.0.0",
"axios": "^0.24.0",
"cssnano": "^7.0.5",
"lodash-es": "^4.17.15",
"querystring": "^0.2.0",
"rc-tooltip": "^5.2.2",
Expand Down
7 changes: 2 additions & 5 deletions src/common/route/RequestResponse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ export function RequestResponse({
route: Route;
applyAxiosInterceptors?: ApplyAxiosInterceptors;
}) {
const {
darkMode,
storeHistoricResponse,
setPartialRequestResponse,
} = useGlobalContext();
const { darkMode, storeHistoricResponse, setPartialRequestResponse } =
useGlobalContext();

const requestResponse: HistoricResponse = useActiveResponse(route);

Expand Down
8 changes: 2 additions & 6 deletions src/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ export function Layout({
HistoryMetadata,
applyAxiosInterceptors,
}: BadMagicProps) {
const {
darkMode,
historicResponses,
activeRoute,
workspaces,
} = useGlobalContext();
const { darkMode, historicResponses, activeRoute, workspaces } =
useGlobalContext();
const [activeWorkspaceNames, setActiveWorkspaceNamesInState] = useState<
string[]
>([]);
Expand Down
Loading

0 comments on commit 5e5bbb9

Please sign in to comment.