Reorganise functions, Use custom Format Date/Relative Time over dayjs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { stores } from '@sapper/app'
|
||||
import * as fn from '../utils/functions'
|
||||
import { randomString } from '../utils/functions'
|
||||
const { page } = stores()
|
||||
|
||||
// Props
|
||||
@@ -9,7 +9,7 @@
|
||||
export let animated = false
|
||||
|
||||
// Generate a random ID for the mask
|
||||
const randomId = fn.randomString(6, 'A')
|
||||
const randomId = randomString(6, 'A')
|
||||
</script>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
|
||||
Reference in New Issue
Block a user