The updated code refactors the `localStorage.ts` service. The refactoring introduces typescript syntax on the import statement, adds a safer use of localStorage when window is undefined, and enhances readability of the code by modifying the function signature to multiple lines. Additionally, it removes unnecessary lines for cleaner code structure.
YeloBit (brief-07)
A brief description of what this project does and who it's for
Appendix
This a scholarship project !
API Reference
Available at https://crypto-exchange-api-403d015dad44.herokuapp.com/api
Color Reference
Installation
Install my-project with npm
git clone ssh://git@git.yidhra.fr:3022/WorkSimplon/brief-07-front.git
cd brief-07-front
pnpm i
Deployment
To deploy this project run
npm run deploy
Tech Stack
Client: NextJS, TailwindCSS, RadixUi, Shadcn/ui, Axios
Description
Languages
TypeScript
99.2%
CSS
0.7%
JavaScript
0.1%