Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_ss23_gameunity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Yusuf Akgül
project_ss23_gameunity
Merge requests
!41
following page, but does not refresh on delete
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
following page, but does not refresh on delete
followPages
into
main
Overview
0
Commits
1
Pipelines
1
Changes
7
Merged
Yusuf Akgül
requested to merge
followPages
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
7
Expand
0
0
Merge request reports
Viewing commit
8ef32873
Show latest version
7 files
+
188
−
54
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
8ef32873
following page, but does not refresh on delete
· 8ef32873
Yusuf Akgül
authored
1 year ago
app/(content)/(user)/[username]/following/page.tsx
+
23
−
4
Options
export
default
async
function
Following
()
{
import
{
BackHeader
}
from
"
@/components/back-header
"
import
{
GlobalLayout
}
from
"
@/components/global-layout
"
import
{
UserFollows
}
from
"
@/components/profile/components/user-follows
"
import
{
Card
}
from
"
@/components/ui/card
"
import
{
getCurrentUser
}
from
"
@/lib/session
"
export
default
async
function
Following
({
params
}:
{
params
:
{
username
:
string
}
})
{
const
session
=
await
getCurrentUser
()
return
(
<
div
>
<
h1
>
Following Page WIP
</
h1
>
</
div
>
<
GlobalLayout
mainContent
=
{
<
Card
className
=
"w-full overflow-hidden "
>
<
div
className
=
"p-3"
>
<
BackHeader
>
<
h1
className
=
"font-bold"
>
Following
</
h1
>
</
BackHeader
>
</
div
>
<
div
className
=
"px-5"
>
<
UserFollows
username
=
{
params
.
username
}
session
=
{
session
}
/>
</
div
>
</
Card
>
}
/>
)
}
\ No newline at end of file
Loading