feat: remove no longer needed isWarn property and injection key
This commit is contained in:
parent
cc664a764d
commit
b8c9d8de17
5 changed files with 4 additions and 10 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue