Vitalik
5 months ago
9 changed files with 36 additions and 28 deletions
@ -1,10 +1,10 @@
@@ -1,10 +1,10 @@
|
||||
# REACT_APP_MOD=production |
||||
REACT_APP_MOD=local |
||||
REACT_APP_MOD=production |
||||
# REACT_APP_MOD=local |
||||
|
||||
# Sentry logger setup |
||||
|
||||
# SENTRY_ENVIROMENT=production |
||||
SENTRY_ENVIROMENT=develop |
||||
SENTRY_ENVIROMENT=production |
||||
# SENTRY_ENVIROMENT=develop |
||||
|
||||
# The SENTRY_AUTH_TOKEN variable is picked up by the Sentry Build Plugin. |
||||
# It's used for authentication when uploading source maps. |
||||
|
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
import { notification } from "../tools"; |
||||
|
||||
export const copyText = (value: any, event?: any) => { |
||||
if (event) event.stopPropagation(); |
||||
|
||||
navigator.clipboard.writeText(value.toString()); |
||||
notification.showSuccess("Успішно", "Данні скопійовані!"); |
||||
}; |
Loading…
Reference in new issue