From 1077e8d4b1a23dd973b0cb13ad9eb164fc340c50 Mon Sep 17 00:00:00 2001 From: z0ccc Date: Tue, 4 Oct 2022 01:15:22 -0400 Subject: [PATCH] Renamed from location to system --- src/Popup/Components/CheckBox.tsx | 4 +-- src/Popup/Pages/AutofillPage/index.tsx | 4 +-- src/Popup/Pages/CurrentPage/index.tsx | 36 +++++++++++++++++++ .../Pages/SettingsPage/SettingsCheckBox.tsx | 4 +-- src/Popup/Pages/SettingsPage/index.tsx | 4 +-- .../ConfigurationSelect.tsx | 0 .../{LocationPage => SystemPage}/IpData.tsx | 29 ++++++++++----- .../LocationInput.tsx | 0 .../{LocationPage => SystemPage}/index.tsx | 26 +++++--------- src/Popup/Pages/WebRtcPage/index.tsx | 4 +-- src/Popup/Popup.tsx | 19 ++++++---- 11 files changed, 88 insertions(+), 42 deletions(-) create mode 100644 src/Popup/Pages/CurrentPage/index.tsx rename src/Popup/Pages/{LocationPage => SystemPage}/ConfigurationSelect.tsx (100%) rename src/Popup/Pages/{LocationPage => SystemPage}/IpData.tsx (52%) rename src/Popup/Pages/{LocationPage => SystemPage}/LocationInput.tsx (100%) rename src/Popup/Pages/{LocationPage => SystemPage}/index.tsx (84%) diff --git a/src/Popup/Components/CheckBox.tsx b/src/Popup/Components/CheckBox.tsx index c2067bd..d7a3846 100644 --- a/src/Popup/Components/CheckBox.tsx +++ b/src/Popup/Components/CheckBox.tsx @@ -1,12 +1,12 @@ import { Label, Checkbox } from 'theme-ui' -interface LocationPageProps { +interface SystemPageProps { title: string onChange?: () => void checked?: boolean } -const CheckBox = ({ title, onChange, checked }: LocationPageProps) => { +const CheckBox = ({ title, onChange, checked }: SystemPageProps) => { return (