Apps, web, i18n, UI, partners, payouts, backoffice, bariki, prod infra
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
45d7512d2b
commit
3489e0b816
319 files changed
+45483
-121
No files matched your search
@@ -0,0 +1,9 @@
|
||||
'use client';
|
||||
|
||||
import { useAgency } from './client';
|
||||
|
||||
/** Строка на бирке подарка: код из ссылки агентства (?a=) или подсказка, где его взять */
|
||||
export function GiftCode({ withCode, withoutCode }: { withCode: string; withoutCode: string }) {
|
||||
const agency = useAgency();
|
||||
return <span className="v3-tag__code">{agency ? withCode.replace('{{code}}', agency) : withoutCode}</span>;
|
||||
}
|
||||
Reference in new issue
Block a user