Skip to content

Commit

Permalink
[Feat] #4 - Components computed property로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yurim830 committed Jan 10, 2025
1 parent b176c5d commit 3fc8e3d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct HomeView: View {
MapViewControllerBridge()
.edgesIgnoringSafeArea(.all)

myPageNavigationLink()
myPageNavigationLink
.padding(20)
}
}
Expand All @@ -28,7 +28,7 @@ struct HomeView: View {

// MARK: - Components
extension HomeView {
func myPageNavigationLink() -> some View {
private var myPageNavigationLink: some View {
NavigationLink(destination: TempMyPageView()) {
Image(systemName: "person.circle.fill")
.resizable()
Expand Down

0 comments on commit 3fc8e3d

Please sign in to comment.