42be854521
* upgrade to svelte 2.0 * update svelte-loader to 2.9.0
20 lines
703 B
HTML
20 lines
703 B
HTML
<DynamicPageBanner title="Favorites" icon="#fa-star" />
|
|
<AccountsListPage {accountsFetcher} />
|
|
<script>
|
|
import { getFavorites } from '../../../_api/reblogsAndFavs'
|
|
import AccountsListPage from '../../../_components/AccountsListPage.html'
|
|
import { store } from '../../../_store/store'
|
|
import DynamicPageBanner from '../../../_components/DynamicPageBanner.html'
|
|
|
|
export default {
|
|
computed: {
|
|
statusId: ({ params }) => params.statusId,
|
|
accountsFetcher: ({ $currentInstance, $accessToken, statusId }) => () => getFavorites($currentInstance, $accessToken, statusId)
|
|
},
|
|
store: () => store,
|
|
components: {
|
|
AccountsListPage,
|
|
DynamicPageBanner
|
|
}
|
|
}
|
|
</script> |