From 13b904448091b95051df5617c1f28de23f566964 Mon Sep 17 00:00:00 2001 From: te Date: Sat, 17 Jun 2023 23:48:18 +0200 Subject: [PATCH] fix import example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aeb94cd..6fa7207 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The `use:action` version only runs on the client so it suitable for Single Page #### Import the action: ```ts -import { relativeTime } from 'svelte-relative-time` +import { relativeTime } from 'svelte-relative-time' ``` #### Apply to any HTML Element - the elements `.textContent` time will be set to the timestamp: