Добавить новый пользовательский функционал#443
Добавить новый пользовательский функционал#443Zamelane wants to merge 18 commits intonotifications-tgfrom
Conversation
There was a problem hiding this comment.
создай мб файлик/папку config и давай туда вынесем
There was a problem hiding this comment.
ну, это надо хранить в бд, мы оба понимаем
There was a problem hiding this comment.
| className={selectAva === url ? 'select-avatar' : ''} | |
| className={selectAva === url ? 'select-avatar' : undefined} |
There was a problem hiding this comment.
| {urls.map((url, index) => ( | |
| {urls.map((url) => ( |
There was a problem hiding this comment.
давай вынесем в файлик какой-нибудь config или около того
There was a problem hiding this comment.
| const filtersModal: FC<Props> = ({ | |
| const FiltersModal: FC<Props> = ({ |
There was a problem hiding this comment.
если эти ссылки дублируются, то можно их куда-то в apps/web/shared унести
apps/web/src/pages/Market/index.tsx
Outdated
There was a problem hiding this comment.
если эти ссылки дублируются, то можно их куда-то в apps/web/shared унести
|
|
||
| // REMOVE IT | ||
| // ? | ||
| export type AvatarModelType = { |
|
|
||
| // REMOVE IT | ||
| // ? | ||
| export type AvatarTagModelType = { |
There was a problem hiding this comment.
вынести в shared, если ещё не там (если есть необходимость использовать на фронте)
| type IAvatarsFromDB = IAvatarModelType & { | ||
| avatarTags: (IAvatarTagModelType & { | ||
| tag: ITagModelType | ||
| })[] |
| } | ||
| } catch {} | ||
|
|
||
| if (!result) { |
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1", | ||
| "bun": "^1.1.34" | ||
| "react-virtualized": "^9.22.5" |
There was a problem hiding this comment.
точно ли тебе нужен state без второй функции?
| before={<Icon28Notifications />} | ||
| onClick={async () => | ||
| window.open( | ||
| `${TG_BOT_URL}?text=/subscribe ${await getSecureToken()}`, |
There was a problem hiding this comment.
ссылку в конфиг вынести, + обсуждали, что лучше через ?start=
Реализовать: