Skip to content

Commit

Permalink
Added Thanks for registration view in cosv module (#2946)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheshiriks authored Mar 18, 2024
1 parent a8f9494 commit 11bdef0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import com.saveourtool.frontend.common.components.views.FallbackView
import com.saveourtool.frontend.common.components.views.organization.createOrganizationView
import com.saveourtool.frontend.common.components.views.organization.organizationView
import com.saveourtool.frontend.common.components.views.registrationView
import com.saveourtool.frontend.common.components.views.thanksForRegistrationView
import com.saveourtool.frontend.common.components.views.userprofile.userProfileView
import com.saveourtool.frontend.common.components.views.usersettings.userSettingsView
import com.saveourtool.frontend.common.utils.*
Expand Down Expand Up @@ -83,6 +84,7 @@ val basicRouting: FC<UserInfoAwareMutablePropsWithChildren> = FC { props ->
createOrganizationView.create() to CREATE_ORGANIZATION,
organizationView.create() to ":owner",
userProfileView.create() to "$PROFILE/:name",
thanksForRegistrationView.create() to THANKS_FOR_REGISTRATION,

userSettingsView.create {
this.userInfoSetter = props.userInfoSetter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@

@file:Suppress("FILE_NAME_MATCH_CLASS")

package com.saveourtool.save.frontend.components.views
package com.saveourtool.frontend.common.components.views

import com.saveourtool.frontend.common.externals.i18next.useTranslation
import com.saveourtool.frontend.common.utils.*
import com.saveourtool.save.frontend.externals.i18next.useTranslation
import com.saveourtool.save.frontend.utils.*
import com.saveourtool.save.info.UserStatus
import js.core.jso
import react.FC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.saveourtool.frontend.common.components.views.FallbackView
import com.saveourtool.frontend.common.components.views.organization.createOrganizationView
import com.saveourtool.frontend.common.components.views.organization.organizationView
import com.saveourtool.frontend.common.components.views.registrationView
import com.saveourtool.frontend.common.components.views.thanksForRegistrationView
import com.saveourtool.frontend.common.components.views.userprofile.userProfileView
import com.saveourtool.frontend.common.components.views.usersettings.*
import com.saveourtool.frontend.common.utils.*
Expand Down

0 comments on commit 11bdef0

Please sign in to comment.