feat: remove no longer needed isWarn property and injection key

This commit is contained in:
Sebin Nyshkim 2023-04-02 17:45:08 +02:00
parent cc664a764d
commit b8c9d8de17
5 changed files with 4 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<script setup lang="ts">
import { inject } from "vue";
import { isWarnKey, nsfwKey, showModalKey } from "@/keys";
import { nsfwKey, showModalKey } from "@/keys";
import type { ColorDict } from "@/interfaces";
import { tailLength, wingspan, penis, colors } from "@/sebin";
import { toImperial, toFahrenheit } from "@/helpers";
@ -33,7 +33,6 @@ const sebinPenisData = [
];
const isNsfw = inject<boolean>(nsfwKey, false);
const isWarn = inject<boolean>(isWarnKey, false);
const showModal = inject<Function>(showModalKey, Function);
</script>