aboutsummaryrefslogtreecommitdiff
path: root/src/components/modal
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-10-21 20:53:34 -0400
committertaehoon <th.dev91@gmail.com>2019-10-21 20:53:34 -0400
commitd3a6c030f8a156cbb5a6b758c7a06c64fefe3d80 (patch)
treee46db76588ea5bf7a75eb43c3c13af25a6a43488 /src/components/modal
parent6084a5b6fe43bd14cf5d87a8f1623b338aad936e (diff)
clean up
Diffstat (limited to 'src/components/modal')
-rw-r--r--src/components/modal/modal.js10
-rw-r--r--src/components/modal/modal.vue11
2 files changed, 10 insertions, 11 deletions
diff --git a/src/components/modal/modal.js b/src/components/modal/modal.js
deleted file mode 100644
index 8daa27a3..00000000
--- a/src/components/modal/modal.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const Modal = {
- props: {
- isOpen: {
- type: Boolean,
- default: true
- }
- }
-}
-
-export default Modal
diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue
index 2e26d89b..cee24241 100644
--- a/src/components/modal/modal.vue
+++ b/src/components/modal/modal.vue
@@ -9,7 +9,16 @@
</div>
</template>
-<script src="./modal.js"></script>
+<script>
+export default {
+ props: {
+ isOpen: {
+ type: Boolean,
+ default: true
+ }
+ }
+}
+</script>
<style lang="scss">
.modal-view {