feat: referral (#3761)
Co-authored-by: DIYgod <i@diygod.me> Co-authored-by: Innei <tukon479@gmail.com>
This commit is contained in:
co-authored by
DIYgod
Innei
parent
79c9b05246
commit
30bb37c7b9
@@ -418,7 +418,7 @@ export const useRegisterEntryCommands = () => {
|
||||
icon: <i className="i-mgc-ai-cute-re" />,
|
||||
category,
|
||||
run: () => {
|
||||
if (role === UserRole.Trial) {
|
||||
if (role === UserRole.Free || role === UserRole.Trial) {
|
||||
presentActivationModal()
|
||||
return
|
||||
}
|
||||
@@ -431,7 +431,7 @@ export const useRegisterEntryCommands = () => {
|
||||
icon: <i className="i-mgc-translate-2-ai-cute-re" />,
|
||||
category,
|
||||
run: () => {
|
||||
if (role === UserRole.Trial) {
|
||||
if (role === UserRole.Free || role === UserRole.Trial) {
|
||||
presentActivationModal()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user