Skip to content

Commit

Permalink
chore: #146 안쓰는 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
juri123123 committed Jan 30, 2025
1 parent 4f6e076 commit b22aea1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ final class NavigationManager: ObservableObject {

func dispatch(_ intent: NavigationIntent) {
switch intent {
// case .build(let newView):
// state.newView = build(newView)
case .changeTab(let tab):
state.selectedTab = tab
case .push(let nextView):
Expand Down Expand Up @@ -64,7 +62,6 @@ extension NavigationManager {
case .register:
state.registerPath.append(view)
}
state.newView = build(view)
}

private func pop(_ depth: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ struct NavigationState {
var registerPath: [ViewType] = []
var currentLocation: String?
var popup: PopupType?
var newView: any View = Home()
}

0 comments on commit b22aea1

Please sign in to comment.