diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-15 10:37:06 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-15 10:37:06 +0200 |
| commit | 84b620c7718339e07aed4acfa398edd50e4935bf (patch) | |
| tree | 896d1586b77469f09bc0bd7032cb40a3d094fb2a /code/app/src/actions/pwKey.js | |
| parent | 458cbd90f800a5b51bf8b1cead8359de885b7c2d (diff) | |
| download | greatoffice-84b620c7718339e07aed4acfa398edd50e4935bf.tar.xz greatoffice-84b620c7718339e07aed4acfa398edd50e4935bf.zip | |
refactor: Minor
Diffstat (limited to 'code/app/src/actions/pwKey.js')
| -rw-r--r-- | code/app/src/actions/pwKey.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/code/app/src/actions/pwKey.js b/code/app/src/actions/pwKey.js deleted file mode 100644 index 2c019f3..0000000 --- a/code/app/src/actions/pwKey.js +++ /dev/null @@ -1,12 +0,0 @@ -import { is_development, is_testing } from "$lib/configuration"; -export default function pwKey(node, value) { - if (!value) - return; - if (!is_testing()) { - if (is_development()) - console.warn("VITE_TESTING is false, so not setting pw-key attributes"); - return; - } - node.setAttribute("pw-key", value); -} -//# sourceMappingURL=pwKey.js.map
\ No newline at end of file |
