mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:45:41 +00:00
Updated views component
This commit is contained in:
parent
abd626a646
commit
962d1abffa
@ -49,7 +49,7 @@ export function Views({as: Component = 'span', slug, className, shouldUpdateView
|
||||
)
|
||||
}
|
||||
|
||||
registerView()
|
||||
registerView().then(() => mutate(`/api/views/${slug}`))
|
||||
}
|
||||
}, [])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user