Skip to content

Commit

Permalink
chore: switch to @ugrc/utilities for local storage hook
Browse files Browse the repository at this point in the history
Closes #50
  • Loading branch information
stdavis committed Aug 24, 2022
1 parent fce296d commit d7a3228
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 81 deletions.
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@tanstack/react-query": "^4.2.1",
"@ugrc/layer-selector": "^6.1.0",
"@ugrc/utilities": "^2.2.1",
"bootstrap": "^5.2.0",
"clsx": "^1.2.1",
"downshift": "^6.1.9",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SplashScreen.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useLocalStorage } from '@ugrc/utilities/hooks';
import { useState } from 'react';
import { Button, FormGroup, Input, Label, Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';
import useLocalStorage from '../hooks/useLocalStorage';
import config from '../services/config';

export default function SplashScreen() {
Expand Down
18 changes: 0 additions & 18 deletions src/hooks/useLocalStorage.js

This file was deleted.

62 changes: 0 additions & 62 deletions src/hooks/useLocalStorage.test.js

This file was deleted.

0 comments on commit d7a3228

Please sign in to comment.