Pinafore-Web-Client-Frontend/src/routes/_pages/accounts/[accountId]/followers.html

21 lines
704 B
HTML

<DynamicPageBanner title="{intl.followers}" />
<AccountsListPage {accountsFetcher} />
<script>
import { getFollowers } from '../../../_api/followsAndFollowers'
import AccountsListPage from '../../../_components/AccountsListPage.html'
import { store } from '../../../_store/store'
import DynamicPageBanner from '../../../_components/DynamicPageBanner.html'
export default {
computed: {
accountId: ({ params }) => params.accountId,
accountsFetcher: ({ $currentInstance, $accessToken, accountId }) => () => getFollowers($currentInstance, $accessToken, accountId)
},
store: () => store,
components: {
AccountsListPage,
DynamicPageBanner
}
}
</script>