From 850cc3ee288e299ac6c2686e813d4917dd64bac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Guadarrama=20Cant=C3=BA?= Date: Wed, 6 Feb 2019 11:48:51 -0600 Subject: [PATCH] Update AdvancedFields.md Fixed incorrect import --- docs/Advanced/AdvancedFields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Advanced/AdvancedFields.md b/docs/Advanced/AdvancedFields.md index 56db19e60..0f029dbce 100644 --- a/docs/Advanced/AdvancedFields.md +++ b/docs/Advanced/AdvancedFields.md @@ -5,7 +5,7 @@ You can use `@text` instead of `@field` to enable user text sanitization. When setting a new value on a `@text` field, excess whitespace will be trimmed from both ends from the string. ```js -import { date } from '@nozbe/watermelondb/decorators' +import { text } from '@nozbe/watermelondb/decorators' class Post extends Model { // ...