Skip to content

Commit

Permalink
Merge pull request #1 from te1/patch-1
Browse files Browse the repository at this point in the history
fix import example
  • Loading branch information
CaptainCodeman authored Jun 17, 2023
2 parents fb3480b + 13b9044 commit b9726cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b9726cf

Please sign in to comment.