Skip to content

Commit

Permalink
(#223) Corrige erro no state da notificacao
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-cella committed Dec 6, 2023
1 parent 30a63a7 commit 1cca902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/private/pages/editarRotina.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function EditarRotina() {
const [hora, setHora] = useState("");
const [showLoadingApagar, setShowLoadingApagar] = useState(false);
const [modalVisible, setModalVisible] = useState(false);
const [notificacao, setNotificacao] = useState(params.notificacao);
const [notificacao, setNotificacao] = useState(!!params.notificacao);
const [expoToken, setExpoToken] = useState(params.token);

Check warning on line 58 in src/app/private/pages/editarRotina.tsx

View check run for this annotation

Codecov / codecov/patch

src/app/private/pages/editarRotina.tsx#L57-L58

Added lines #L57 - L58 were not covered by tests

const getIdoso = () => {
Expand Down

0 comments on commit 1cca902

Please sign in to comment.