From 24fa44468ba0745b38af8a9a03d33828a8b385c4 Mon Sep 17 00:00:00 2001 From: "@beer" <47961062+iiio2@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:39:06 +0600 Subject: [PATCH] docs(storage): fix typo (#2639) --- docs/1.guide/4.storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1.guide/4.storage.md b/docs/1.guide/4.storage.md index e937fd4f0f..6ecf1caa23 100644 --- a/docs/1.guide/4.storage.md +++ b/docs/1.guide/4.storage.md @@ -13,7 +13,7 @@ Nitro has built-in integration with [unjs/unstorage](https://unstorage.unjs.io) To use the storage layer, you can use the `useStorage()` and call `getItem(key)` to retrieve an item and `setItem(key, value)` to set an item. ```ts -// Default storage is in memory +// Default storage is in-memory await useStorage().setItem('test:foo', { hello: 'world' }) await useStorage().getItem('test:foo')